My post from yesterday titled "class and package name completion for jde-open-class-source" provides this kind of completion. It is modelled on Intellij's Find->Class functionality and is in fact a little better because it handles inner classes correctly.
It has some modifications for jde-xref.el, jde-open-source.el and some defuns for your .emacs. You have to get set-up jde-xref and call jde-xref-make-xref-db first.
Comments and feedback are welcome.
Suraj
Henrik Kjær wrote:
Hi
I really like the JDE, but I am missing syntax checking which could help to optimize the development process as it would remove a lot of small errors before compiling, e.g. a missing ;, using an unknown class (e.g. Strin when I ment String), etc. Is there any plans to extend JDE with syntax checking or does anyone know about a syntax checking mode for Java in Emacs!?
I would also like if the JDE could help me find classes by using completion, e.g if I have classes called MyClass and MyOtherClass, I would just type My and JDE could help me find those classes. I know JDE uses reflection to find classes so I have to type the exact name, but I can not always remember the full and exact name of all my classes, so such a tool could some in handy - for me at least :-)
Henrik