Eclipse类型层次结构不总是工作 [英] Eclipse type hierarchy not always working

查看:235
本文介绍了Eclipse类型层次结构不总是工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我想通过 F4 (类型层次结构)或 ctrl + t (快速层次结构)或实现一种方法,我看不到它!问题是,它的工作在90%,但我有几个例子,当界面和实现在同一个包中,eclipse不能通过类型层次结构识别它。有什么建议么?
得到Eclipse Indigo SR2。

When I want to see implementation of some interface through F4 (type hierarchy) or ctrl+t (quick hierarchy) or implementation of a method, I can't see it! Problem is, that it works in 90%, but I have few cases when interface and implementation are in same package and eclipse doesn't recognize it via type hierarchy. Any suggestions? Got Eclipse Indigo SR2.

推荐答案

我有同样的问题,并通过删除位于在.metadata / .plugins / org.eclipse.jdt.core中。删除所有.index文件和savedIndexNames.txt。在Eclipse未运行,然后重新启动时执行此操作。这解决了我的问题。

I had this same problem and fixed it by deleting the Eclipse index cache files located in .metadata/.plugins/org.eclipse.jdt.core. Delete all .index files and savedIndexNames.txt. Do this while Eclipse is not running and then restart. This fixed the issue for me.

这篇关于Eclipse类型层次结构不总是工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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