如果你在Eclipse中,输入“.”后没有代码提示出现,请看下面的解决步骤。
[color=blue]1.window->Preferences->Java->Editor->Content Assist->Advanced[/color]
上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中
把 [color=red]Other Java Proposals[/color] 选项打上勾:(如下图)
[img]http://dl.iteye.com/upload/attachment/223966/293b7fb6-fff9-32b1-9e1c-afb28d994027.jpg[/img]
[color=blue]2.window->Preferences->Java->Editor->content assist[/color]
把 [color=red]Enable auto activation [/color]选项打上勾 :(如下图)
[img]http://dl.iteye.com/upload/attachment/223968/4e9631dc-fd31-3b3f-9aeb-d33dad852af3.jpg[/img]
[color=blue]1.window->Preferences->Java->Editor->Content Assist->Advanced[/color]
上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中
把 [color=red]Other Java Proposals[/color] 选项打上勾:(如下图)
[img]http://dl.iteye.com/upload/attachment/223966/293b7fb6-fff9-32b1-9e1c-afb28d994027.jpg[/img]
[color=blue]2.window->Preferences->Java->Editor->content assist[/color]
把 [color=red]Enable auto activation [/color]选项打上勾 :(如下图)
[img]http://dl.iteye.com/upload/attachment/223968/4e9631dc-fd31-3b3f-9aeb-d33dad852af3.jpg[/img]