Eclipse索引不起作用 [英] Eclipse indexing not working

查看:848
本文介绍了Eclipse索引不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu中使用Eclipse 3.5.2 Galileo中的CDT。



我的eclipse的索引器有时不起作用。我的意思是当我 ctrl 点击一个函数,它说在索引中找不到符号。此外,F3按钮单击会导致相同的错误消息。实际上,大部分的地方都不起作用,而且在很少的地方工作。



我已经看到Eclipse的其他一些版本,在文件菜单下列出了一个索引列出的菜单项。像File-> Indexer-> Rebuild ....但是在我的文件菜单中没有Indexer的这样的菜单项。



唯一的方法是使用一些其他发布的Eclipse还是缺少某些东西?任何关于这个的指针都是有帮助的。

解决方案

在我的情况下,没有任何工作,最后我做了以下:

  1)关闭项目
2)删除项目(不要从磁盘选项检查)
3)创建新项目与现有代码(使用已删除的项目路径)
4)成功索引我的c ++代码


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 Could not find symbol in index. Also, F3 button click results in the same error message. Actually most of the places it is not working and works in very few places.

I have seen some other versions of Eclipse where under File menu a menu item listed for Indexing. Like File->Indexer->Rebuild.... But in my File menu there is no such menu item for the Indexer.

Will the only way be to use some other release of Eclipse or am missing something? Any pointers regarding this would be helpful.

解决方案

In my case nothing has worked and at last I did the following:

 1) Close the project
 2) Delete the project(do not check from disk option)
 3) create new project with existing code(use the deleted project path)
 4) Successfully indexed my c++ code

这篇关于Eclipse索引不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆