Eclipse大纲视图为空 [英] Eclipse Outline View is empty
问题描述
今天很简单。我在Eclipse中的 Outline
视图不再显示任何方法或字段。我选择了大纲视图菜单中可用的几个选项,以向我显示所有可能的东西,但仍然没有。
A simple one today. My Outline
view in eclipse does not show me any methods or fields anymore. I have selected the few options that are available in the outline view menu to show me everything possible but still nothing.
如果我在类编辑器中单击鼠标右键,然后选择 Quick Outline
,我会得到以前显示在概述
视图。
If I right click in the class editor and select Quick Outline
I get the info that used to appear in the Outline
view. What gives?!
有什么帮助吗?
谢谢
编辑:我现在只使用IntelliJ!
i now just use IntelliJ!
推荐答案
显然,此问题的原因是 DLTK(动态语言工具包)索引已损坏。
Apparently the reason for this problem is that the DLTK (Dynamic Languages ToolKit) index is borken.
以下加速Eclipse PDT和nWire的五个技巧,我关闭了Eclipse,仅删除了h2数据库( *。db
)< workspace> /。metadata / .plugins / org.eclipse.dltk.core.index.sql.h2 /
。
Following Five tips for speeding up Eclipse PDT and nWire, I have closed Eclipse, and only deleted the h2 database (*.db
) files in <workspace>/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/
.
重新启动Eclipse时,将再次创建数据库文件,然后,Outline View将再次工作。 IIRC,这是我第二次遇到此问题(首先是Eclipse 3.7.x,现在是4.2),并且该解决方案对我有用。
When restarting Eclipse, the databases files are created again, and after that the Outline View is working again. IIRC, this is the second time that I had this problem (first with Eclipse 3.7.x and now 4.2) and that this solution worked for me.
这篇关于Eclipse大纲视图为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!