> Sounds interesting. I'll think about this but probably not for the next
> release. I want to wrap up JDE 2.6 and until that's done my emphasis will
> be on bug fixes and documentation.
> 
I totally agree with you. :)

One other thing. I (with help of some other people) have put together a
small elisp hack which correlates the directory where the current buffer
is located and the classpath (jde-compile-option-classpath or
global-classpath or CLASSPATH) and inserts a corresponding package
declaration at the top of the buffer.

As it is designed now, it is an interactive lisp function which could be
bound to a key, I have bound it to C-c C-v p, which I think is quite OK
and that key was not bound to anything else.

It should work for both Windows and Unix, although I have not been able
to test it on Windows, since I only develop on my Sun workstation...

E.g. if CLASSPATH is "/foo/" and the file in the current buffer is
"/foo/bar/gazonk/MyClass.java", then

package bar.gazonk;

would be inserted at the top of the buffer when C-c C-v p was pressed.


Does this functionality already exist in JDE, or is it something that
you are interested in?


/John

-- 
LM/ERA/LVA/KD John Olsson  mailto:[EMAIL PROTECTED] 
   Ericsson Radio Systems AB, Box 1248, S-581 12 Linkoping
-------------------------------------------------------------
  Phone: +46 13 321070   ECN: 868 1070   Fax: +46 13 287370
-------------------------------------------------------------
I was doing object-oriented assembly when I was 1 year old...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to