最近下了个eclipse3.3,在第一次使用代码提示时候出现个XXX 对话框,也没仔细看就close掉了,结果发现代码提示没有了。。。。。
String s = "";
s.
什么都没有
上网查了下,有人说 菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾。
还有windows-->preference-->workbench-->keys 下设置Content Assist 的快捷键。
但都不能自动提示,查了查以前eclipse 的设置才找到:window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把 Other Java Proposals 选项打上勾就可以了。