Eclipse Android 代码自动提醒功能

Eclipse Android 代码自动提示功能

打开 Eclipse 依次选择 Window > Preferences > Java > Editor - Content Assist > Auto activation triggers for Java ,设置框中默认是一个点,

现在将它改为:

 

以下为引用内容:  .abcdefghijklmnopqrstuvwxyz(,

设置 xml 文件的代码提示功能

打开 Eclipse 依次选择 Window > Preferences > Xml > Editor > Content Assist > Auto activation > Prompt when these characters are inserted ,设置框中默认是 <=: ,

现在将它改为:

 

以下为引用内容:  <=:.abcdefghijklmnopqrstuvwxyz(,

 eclipse android 自动提示 no default template

Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced

里的「Select the proposal kinds contained in the 'default' content assist list」把Other Java Proposals钩上即可,需要勾上的选项如下:

 Other Java Proposals       SWT Template Proposals   Template Proposals     Type Proposals  这几个选项勾上就可以了。

 

 

本文轉載:http://blog.csdn.net/huwei2003/article/details/7232173