解决Eclipse在xml中编辑布局文件智能提示失效问题

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

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

现在将它改为:

<=:.abcdefghijklmnopqrstuvwxyz(,

2、另一种可能引起Eclipse在xml文件的编辑状态没有智能提示功能,这是由于xml打开文件的方式不同引起的,解决方式为:

在xml文件上点右键–>openWith–>选择XML Editor就可以

你可能感兴趣的:(Android)