Menu

#67 "Go to definition" in source

open
nobody
6
2003-02-25
2002-06-11
No

Many editors have a "Go to definition" action for
fields and methods, which brings up the code where the
field or method is defined. It might be possible to
add this without adding too much overhead or full text
parsing, maybe using the line numbers in the classfile
(if the class has been compiled). This probably
depends on a refactoring of the reduced model as well,
with more advanced syntax analysis (detecting the
defining instance).

Discussion

  • Charles Reis

    Charles Reis - 2002-08-21
    • priority: 5 --> 4
    • summary: "Go to definition" in source --> "Go to definition" in source
     
  • Charles Reis

    Charles Reis - 2003-02-25
    • priority: 4 --> 6
     
  • Charles Reis

    Charles Reis - 2003-02-25

    Logged In: YES
    user_id=429731

    This is a frequently requested feature, and we'd like to
    address it relatively soon. I'll raise the priority on it.

     
  • Charles Reis

    Charles Reis - 2003-02-25
    • summary: "Go to definition" in source --> "Go to definition" in source
     
  • Charles Reis

    Charles Reis - 2003-07-15

    Logged In: YES
    user_id=429731

    Eric Knapp pointed out a tool called "ctags" which can
    quickly index a source file to easily find the definitions
    and uses of methods, etc. However, it's written in C, so
    it's not ideal for directly integrating into DrJava. It is
    open source, so perhaps we can find a Java equivalent (or
    write one ourselves).

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.