Reputation: 949
I'm use eclipse for developing projects. This on is head scratching. When looking for references of say an object withing the same project(using the menu search>> references >>project) eclipse brings the references in the .class file instead of the .java files. If I delete the .class files then it finds the references in the .java files. I would like eclipse to bring the .java files from the beginning as .class files are no use to me.
Is there a setting somewhere that could address this issue?
Upvotes: 3
Views: 1728
Reputation: 185
Check your project properties in eclipse.
Right click the prject -> select properties -> Select java build path -> click on the Source tab.
Check that you haven't included your class file location there.
Upvotes: 4