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

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

 

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

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

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

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