At 12:03 PM 5/5/99 +0200, you wrote:
>
> What is the current state of the smart method/variable completion,
>which was announced, IIRC, for the beginning of 1999 ? I remember the
>announce was done in december '98, while I was working on such a thing
>(which was alpha-working), so I gave up waiting for JDE's
>implementation.
>
I am working on this feature. So far I have created a Java parser, using
JavaCC, and interfaced the parser to the JDE via the JDE's BeanShell Java
source interpreter.The method/field completion logic will use this parser
to determine the class of the object at point. I plan to work on the code
to determine the class at point next. Once this is done, I will do the
completion logic, which is fairly trivial, once you know the class of the
object at point. I hope to have the feature ready for release in early June.
I have implemented a new command, jde-parse, that invokes the Java parser
on the file displayed in the current buffer. The parser is very quick on my
Pentium 200 machine. The parser command allows you want to check the file
for syntax errors without having to compile the file. If there is interest,
I could release this command right away.
- Paul