![[转]解决Eclipse中编辑xml文件的智能提示问题 [转]解决Eclipse中编辑xml文件的智能提示问题](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
转自:http://hi.baidu.com/cghroom/item/48fd2d0dc1fc23c675cd3c3e
摘要: Eclipse for Android xml 文件代码自动提示功能,介绍Eclipse 编辑器中实现xml 文件代码自动智能提示功能,解决eclipse 代码提示失效、eclipse 不能自动提示、eclipse 没有代码提示的问题。
Eclipse for Android xml 文件代码自动提示功能,介绍Eclipse 编辑器中实现xml 文件代码自动智能提示功能,解决eclipse 代码提示失效、eclipse 不能自动提示、eclipse 没有代码提示的问题。eclipse xml 代码提示,eclipse xml 自动提示,eclipse 自动提示功能,eclipse 智能提示,eclipse 代码提示功能,eclipse 设置代码提示,eclipse code auto-prompt function 。
XML 文件的代码提示功能
设置xml 文件的代码提示功能
打开Eclipse 依次选择Window > Preferences > Xml > Editor > Content Assist > Auto activation > Prompt when these characters are inserted ,设置框中默认是<=: ,
现在将它改为:
<=:.abcdefghijklmnopqrstuvwxyz(,
另一种可能引起Eclipse在xml文件的编辑状态没有智能提示功能,这是由于xml打开文件的方式不同引起的,解决方式为:
在xml文件上点右键-->openWith-->选择XML Editor就可以