如果你在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]