MyEclipse6.5为例子: 

1.选择菜单栏“window->Preferences->Java->Editor->Content Assist-右边-auto-activaction”栏,“Enable auto activation”选项打勾,Auto Activation triggers for java 后面 直接写入(双引号里面的内容)“.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,([{”,如图

MyEclipse6.5设置代码自动提示

2.继续设置展开Content Assist->Advanced   上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中勾上自己需要的。如图

MyEclipse6.5设置代码自动提示

相关文章: