Eclipse indexing not working

前端 未结 13 2425
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-07 02:20

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

13条回答
  •  爱一瞬间的悲伤
    2021-02-07 03:06

    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:

    /.metadata/.plugins/org.eclipse.core.runtime/.settings/

    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.

提交回复
热议问题