Ctrl Shift G not working [message #892914] |
Sun, 01 July 2012 16:39  |
Eclipse User |
|
|
|
Hi,
I have been using eclipse Indigo until recently. Suddenly find references function stopped working across workspace and instead gave a limited list of results within the same project.
I have done some research online and tried few solutions such deleting the indexes, remapping the key, rebuilding the indexes,deleteting the whole meta core directory to no avail.
Finally I installed the latest Juno version afresh in a new location a couple of days ago, but I was not happy the same problem persisted, indicating it could be a problem outside of Eclipse.
Find references is the single most useful function in my opinion for evaluating the impact of making changes to existing code. I really need to get this working given that I have been up untill now happy with eclipse and don't wish to switch to Intellij, and have to learn a new IDE because of some potentially solvable problem.
Has anyone had the same problem? or perhaps any idea on how I can investigate this problem at OS and indexer plugin level? am I missing some configuration (this used to work btw)
One thing my project referenced libraries are jars inside the referencing project, and each has a corresponding eclipse project. It used to magically search those projects and go there instead of the jar for found references when I do ctrl shift g.
Thanks a lot for your time in advance
|
|
|
|
Re: Ctrl Shift G not working [message #986748 is a reply to message #892914] |
Wed, 21 November 2012 09:25  |
Eclipse User |
|
|
|
For anyone else stuck on this...
Check if your classpath is set up with a project->JAR dependency when it should be using a project->project dependency.
Some more detail:
I'm using a Java-based framework which is smart enough to import your Java project either with the project->project dependency if possible or with a dependency on the associated JAR if not.
(I'm actually not using Maven but I imagine there's a way to get confused with Maven's Eclipse integration and end up with the same result.)
Anyway usually it leaves me with a project->project dependency, but I messed something up on my disk and it found the JAR instead of the other project.
----
An interesting, related note.. the way I messed up my disk was doing a rename of a particular folder to "dir1.bak". I thought I was hiding it from Eclipse but the refactoring picked up the changed location which threw everything off.
---
Hope that helps someone.
|
|
|
Powered by
FUDForum. Page generated in 0.03769 seconds