This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes [Q] Code navigation in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[Q] Code navigation in Eclipse " Watch "[Q] Code navigation in Eclipse " New topic
Author

[Q] Code navigation in Eclipse

Kaspar Minosiants
Greenhorn

Joined: Jun 21, 2003
Posts: 13
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Kaspar Minosiants
Greenhorn

Joined: Jun 21, 2003
Posts: 13
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Unzipping the .zip file somewhere would seem like the simplest solution.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: [Q] Code navigation in Eclipse