This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Open declaration of Eclipse  RSS feed

 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 37242
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also make sure that your project is a Java project and that your java files are in a source folder.
 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 37242
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David,
There is a project build path. You can get to it by right clicking the project and selecting preferences.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!