| 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
|
|
|
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
|
|
|
Unzipping the .zip file somewhere would seem like the simplest solution.
|
 |
 |
|
|
subject: [Q] Code navigation in Eclipse
|
|
|