wiseant

Eclipse全字符代码自动补全

一、设置Eclipse全字符代码自动补全

1. “window”→“Preferences”
2. 选择“java”,展开,“Editor”,选择“Content Assist”。
3. 选择“Content Assist”,然后看到右边,右边的“Auto-Activation”下面的“Auto Activation triggers for java”这个选项。其实就是指触发代码提示的就是“.”这个符号。
4. “Auto Activation triggers for java”这个选项,在“.”后加abcdefghijklmnopqrstuvwxyz字母,方便后面的查找修改。然后“apply”,点击“OK”。

 

二、修改代码补全快捷键

Eclipse代码补全的快捷键默认为Alt+/,我是无论如何也用不习惯,用惯了Shift+[空格]激活代码补全

 

打开Windows>Preferences>General>Keys菜单项,在上面的过滤框中输入“Content Assist”,然后选择
Content Assist项目,在下方的Binding编辑框中指定新的快捷键即可。
 

 

posted on 2012-11-14 11:00  Ant  阅读(353)  评论(0编辑  收藏  举报

导航