编写Android程序,好多的XML要写,每次都曲按ALT+/实在是麻烦。
所以上网找如何能自动提示。
说在Window-->Preferences-->MyEclipse-->Files and Editors -->XML-->XML Source -->Content Assist下修改
可是我的myeclipse里面没有Content Assist的选项。所以我找到了另外一种方法。
首先:
File-->Export-->Preferences-->Next 选中Export All 在To Preference file 中填写保存的路径
导出后 用文本打开 刚刚导出的epf文件,在文件中加入下面两条
/instance/org.eclipse.wst.html.ui/autoProposeCode=<\= abcdefghijklmnopqrstuvwxyz\:
/instance/org.eclipse.wst.xml.ui/autoProposeCode=<\= abcdefghijklmnopqrstuvwxyz\:
保存
然后打开Myeclipse File-->import-->Preferences 导入刚刚保存过得epf文件。
然后就可以尽情的享受提示的爽啦
ps:如果要修改提示的延迟时间的加入以下代码
/instance/org.eclipse.wst.xml.ui/autoProposeDelay=30
pps:设置的数越小对系统性能要求越高