Reputation: 287
I am using Eclipse 4.6, with C++ project in linux. if it's relevant: Compilation is done via CMake makefile. Gdb version is 8.0.1
when using F3 (open declaration), a window is opened with class declarations(e.g. friend class declaration), but not the class definition (i.e. class MyClass : public BaseClass...).
Also find all references is not working.
I have
used Project->index->rebuild
verified that the C++ General/Patch and Symbols/Path is defined properly
Upvotes: 6
Views: 9781
Reputation: 121
Make sure your Eclipse Indexer is active or not!! try this route
and enable the indexer with all its options
Upvotes: 1
Reputation: 113
That might be because your C/C++ project makes reference to resources from other projects.
Upvotes: 0
Reputation: 1
check if in Paths and Symbols (also in C/C++ General) your Project is added in Includes. If not: Go to Add... Button then Workspace... then select your workspace. It will be included as Is a workspace path. Maybe this will fix the problem.
Upvotes: 0