Eclipse/MyEclipse中的代码自动提示功能失效的解决

来源:互联网 发布:json时间格式转换 编辑:程序博客网 时间:2024/04/30 13:25
今天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的自动提示功能大大增强。
原创粉丝点击