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个选项全部勾上!此时设置结束,无论是语句,类,接口,关键字,还是方法,都能自动提示。
原文地址:https://www.cnblogs.com/hmswt/p/9020128.html