如果你在Eclipse中,输入“.”后没有代码提示出现,请看下面的解决步骤。
1.window->Preferences->Java->Editor->Content Assist->Advanced
上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中
把 Other Java Proposals 选项打上勾:(如下图)
[img]http://dl.iteye.com/upload/attachment/223966/293b7fb6-fff9-32b1-9e1c-afb28d994027.jpg[/img]
2.window->Preferences->Java->Editor->content assist
把 Enable auto activation 选项打上勾 :(如下图)
[img]http://dl.iteye.com/upload/attachment/223968/4e9631dc-fd31-3b3f-9aeb-d33dad852af3.jpg[/img]
1.window->Preferences->Java->Editor->Content Assist->Advanced
上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中
把 Other Java Proposals 选项打上勾:(如下图)
[img]http://dl.iteye.com/upload/attachment/223966/293b7fb6-fff9-32b1-9e1c-afb28d994027.jpg[/img]
2.window->Preferences->Java->Editor->content assist
把 Enable auto activation 选项打上勾 :(如下图)
[img]http://dl.iteye.com/upload/attachment/223968/4e9631dc-fd31-3b3f-9aeb-d33dad852af3.jpg[/img]
本文详细介绍了在Eclipse中遇到代码提示不显示时的解决步骤,包括设置内容辅助选项和启用自动激活功能。
420

被折叠的 条评论
为什么被折叠?



