I am using CDT in Eclipse 3.5.2 Galileo in Ubuntu.
My eclipse\'s indexer doesn\'t work at times. By that I mean when I ctrl
click a function it says
If your indexer is stuck and it hangs for infinite time, you can delete the indexer related files of your project from .metadata
. Make sure eclipse is not running in the meanwhile.
The .metadata
directory is located as a hidden folder in the path of your workspace.
There you can navigate to:
Inside the .settings/
directory there are .prefs
files which store the preferences of each project individually.
For example: org.eclipse.cdt.core.prj-test-project.prefs
stores the preferences of the project test-project
Open this file with the text editor and remove all the lines starting with indexer
. This will reset the indexer settings for this specific project to the default.
Alternatively, you can remove all the lines starting with indexer
from org.eclipse.cdt.core.prefs
; doing this will reset the indexer settings for the whole workspace.