今天Coding时自动提示功能无缘无故不能用了,按网上提供的方法检查了下,Window
-> Preferences -> Java -> Editor -> Content Assist -> Auto-Activation中的Enable
auto activation选荐已被选中了。
还有提示说要在Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced配置页内Select the proposal kinds contained in the 'default' content assist list:中把Other Java Proposals选中,但我查看了一下我的列表中没有这一项,倒是把"Java Non-Type Proposals", "Java Proposals", "Java Type Proposals"三项都选中,就可以了。如图:

另外,如果在Window -> Preferences -> Java -> Editor -> Content Assist -> Auto-Activation -> Auto activation triggers for Java:框中把.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(,等都填进去,会让Eclipse的自动提示功能大大增强。
还有提示说要在Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced配置页内Select the proposal kinds contained in the 'default' content assist list:中把Other Java Proposals选中,但我查看了一下我的列表中没有这一项,倒是把"Java Non-Type Proposals", "Java Proposals", "Java Type Proposals"三项都选中,就可以了。如图:

另外,如果在Window -> Preferences -> Java -> Editor -> Content Assist -> Auto-Activation -> Auto activation triggers for Java:框中把.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(,等都填进去,会让Eclipse的自动提示功能大大增强。