Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced,右侧对话框中,选中Java Proposals,如下图: 然后就可以了~~~