Eclipse indexing not working

前端 未结 13 2405
佛祖请我去吃肉
佛祖请我去吃肉 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:03

    Here is the solution I used after Project->C++ Index->Rebuild failed. This trick avoid deleting your current project :

    1) Copy the current project (Right click->Copy from Project Explorer)
    2) Paste it (Right click->Paste from Project Explorer) and give the copy another name
    3) The indexer should now start and index both projects
    4) When indexation is complete, you can delete the copy
    

    PS: Make sure your original project is an actual C++ Project or this will obviously not work.

提交回复
热议问题