I have been trying to figure out why sometimes Jess Constructs appear
in content assist and sometimes they don't.
For example, in a new .clp file, if I insert an opening parenthesis
'(', a closing parenthesis ')' will appear immediately after it, and
then about a 1/2 second later the content assist list will appear,
starting with *, **, +, ++, etc..
If I type the letters 'def', the list filters down to only
'defadvice', 'defclass' and 'definstance'. I would also expect to see
'defrule', 'deftemplate', 'defquery' and all the other constructs that
are listed in the templates/jess.xml file.
Even typing ctrl-space to force content assist, just the short list
appears.
If however, I remove the closing parentheses or add a space after the
'def' i.e: '(def )' and place the cursor anywhere on the partial word
'def' I will get a more complete content assist list including two
entries for each of the constructs that appear in the
templates/jess.xml file. One entry appears to be from a general
content assist list and the other from the templates file. For
example, choosing 'defrule' from the list just adds the full word
'defrule' to my code '(defrule )' but adding the second entry from the
list: 'defrule - A new rule' adds the full content assist template:
(defrule name
"comment"
=>)
Once the full list is loaded, it will usually appear again even if I
have no space after the partial word.
It looks like the way the templates are handled in the JessDE editor
code may be limiting the way the general content assist list is
created and filtered.
Thanks,
- Howard
Howard Greenblatt
VP Advanced Technology
Metatomix, Inc.
(781) 907-6767
[EMAIL PROTECTED]
http://www.metatomix.com <http://www.metatomix.com/>
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------