Hi!

On Sun, Jan 27, 2002 at 01:22:32PM +0100, Berndl, Klaus wrote:
> Think of an arbitrary symbol in my java-source, like:
> 
> ....
>   MyOwnClassType aType = new (...);
>   ...
>   // somewhere in the code (of course with correct scope)
>   aType.aMethod();
>             ^      // means point stays here
> ....
> 
> Suppopse point stays for example where the ^-sign is.
> Is there already a mechanism/function in JDE whic i can
> call and then auto. the file is opened where class
> "MyOwnClassType "" is defined AND(!) point is located
> at definition of "aMethod"?
> 
> I kknow jde-show-class-source but i doubt that this function
> can do all this especially putting point to the right symbol.
> 
> What is the state of the feature "Show definition of symbol at point"?

I have to following in my .emacs:

       ;; etags
       (if (file-readable-p "~/TAGS")
           (visit-tags-table "~/TAGS")
         )

etags create the TAGS table.

To tag all my java files, I do:

cd ~
rm TAGS
find . -name '*.java' -print | xargs -a etags

With M-. you can visit the definiton of a method or class.

You should also have a look at the emacs manual.

Ciao,
  Stefan

--
Stefan Heimann       | fon: +49 761 3196897
Brandensteinstr. 5   | e-mail: [EMAIL PROTECTED]
D-79110 Freiburg     | http://www.stefanheimann.net

Reply via email to