在使用MyEclipse过程中发现它对于对于Java代码的自动提示功能失灵了,而对于JSP却能正常给出提示。上网百度后找到了很多解决办法,但由于造成这种现象的原因不同,所以基本上那些方法都不能用。以下的解决方法正是适合我这种情况的:
1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把 Other Java Proposals 选项打上勾就可以了。