Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Q] Code navigation in Eclipse

 
Kaspar Minosiants
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
I've got struts-1.1 source code could you explain how it
posible to load it in eclipse and after that navigate through the code.
For example i see a method and want to go to its definition,i just hit the enter and eclipse shows the definition.
Thanks !
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just right-click a method/class name and select "Go to definition" or something similar (there's probably a default key-combo for this as well).
 
Kaspar Minosiants
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have source in tar.gz format so i recompresed it into .zip add this arch
into eclipse (2.1 version).
In the package explorer the tree of the strats source contains a lot of
packages but when i'm trying to open packages which contain .java files
they don't open . : (
Moreover i've just tried to add jdk source code and the behavior is the same
.
Eclipse can't read source packages .
What should i do to fix this problem ?
Thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unzipping the .zip file somewhere would seem like the simplest solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic