1、菜单window->Preferences->Java->Editor->ContentAssist->Enable auto activation选项要打上勾 2、windows-->preference-->workbench-->keys下设置Content Assist 的快捷键 3、window->Preferences->Java->Editor->ContentAssist->Advanced 上面的选项卡Select the proposal kinds contained in the
‘default‘ contentassist list: 中把 Other Java Proposals 选项打上勾就可以了。