您如何使Eclipse自动建议方法? [英] How do you get Eclipse to auto-suggest methods?
问题描述
我刚刚完全删除了Eclipse和Android SDK,并从Android SDK捆绑包中重新安装了它们。 (之所以这样做,是因为随着时间的流逝,出现了很多膨胀,并且我无法让SDK Manager识别ADT的新版本。)
I just deleted Eclipse and the Android SDK completely, and reinstalled them together from the Android SDK bundle. (I did this because a lot of bloat had built up over time and I couldn't get SDK Manager to recognize new versions of ADT.)
Eclipse经常弹出如果我键入了类的名称,然后键入了一个点,则列出了该类的所有可用方法的列表,并在我继续键入时开始过滤列表。自从我重新安装以来,此功能不起作用。如何打开它?
Eclipse used to pop up with a list of all available methods of a class if I typed the name of the class and then a dot, and would start filtering the list down as I continued to type. This feature is not working since I reinstalled. How can I turn it on?
我已经在SDK Manager中安装了API 17的源代码和文档。
I already installed API 17's sources and documentation in SDK Manager.
推荐答案
需要在偏好设置的Java->编辑器->内容助手->高级部分中选中以下框:
The following boxes needed to be checked in the Java -> Editor-> Content Assist -> Advanced section of the Preferences:
- Java非类型提案
- Java提案
- Java类型提案
这篇关于您如何使Eclipse自动建议方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!