解决Eclipse中编辑xml文件的智能提示问题,最简单的是第二种方法。

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就可以

猜你喜欢

转载自www.cnblogs.com/hyzasd123/p/9068435.html