This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Open declaration of Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Open declaration of Eclipse" Watch "Open declaration of Eclipse" New topic
Author

Open declaration of Eclipse

Steve Jiang
Ranch Hand

Joined: May 17, 2004
Posts: 107
I installed Eclipse 3.0, and check out a existing module from CVS.

but I can't use the Open Declaration. When I click Open Declaration or F3, there is no response. It is first time for me to use Eclipse, is there any step need to do before I use this function? In Netbean, I need to mount file system to use the similary function.

Thanks

David
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

David,
No, there isn't any special setup. Is F3 taking you to a blank page or noplace at all? It takes you to a blank page or a page with just the methods if the source code is not found.

Try using F3 on a file in your workspace (in the same project) first as that is a simpler case.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Also make sure that your project is a Java project and that your java files are in a source folder.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Steve Jiang
Ranch Hand

Joined: May 17, 2004
Posts: 107
It shows " The resource is not on the build path of java project.". where is shoudl I change for the build path? I find several place Window > Preferences > Java > Compiler > Build Path,
Window > Preferences > Java > Build Path, but they seem not right place.

Thanks,

David
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

David,
There is a project build path. You can get to it by right clicking the project and selecting preferences.
 
Consider Paul's rocket mass heater.
 
subject: Open declaration of Eclipse
 
Similar Threads
How to import a project by build.xml in Eclipse 3.5.2
Please help.Eclipse
Eclipse and 3-button mice
JSP Editor plugin for eclipse
How to just get java source code (src.zip), without installing full JDK ?