转自: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就可以

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-12-02
  • 2021-11-01
  • 2021-11-23
  • 2021-04-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-05-12
  • 2021-07-30
  • 2021-10-02
相关资源
相似解决方案