Eclipse/myEclipse 代码提示/自动提示/自动完成设置

设置eclipse/myEclipse代码提示可以方便开发者,不用在记住拉杂的单词,只用打出首字母,就会出现提示菜单。如同dreamweaver一样方便。

设置超级自动提示:

1.菜单window->Preferences->Java->Editor->Content Assist-右边-auto-activaction栏下-Enable auto activation 选项要打上勾

2.Auto Activation triggers for java 后面 直接写入(新版eclipse可以直接写入长字符)“.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,([{”

3.设置反映时间,Auto activation delay 默认为200,一般设置为20~50 4.*此时设置完还没有达到超级提示,软件对类和接口还有很好的提示。

4.继续设置window->Preferences->Java->Editor->Content Assist展开->Advanced   上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把7个选项全部勾上!此时设置结束,无论是语句,类,接口,关键字,还是方法,都能自动提示。

posted @ 2013-02-22 00:02  pocketz  阅读(8776)  评论(0编辑  收藏  举报