Eclipse for android 实现代码自动提示智能提示功能,介绍 Eclipse for android 编辑器中实
现两种主要文件 java 与 xml 代码自动提示功能,解决 eclipse 代码提示失效、eclipse 不能
自动提示、eclipse 没有代码提示的问题。

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


打开 Eclipse 依次选择
Window > Preferences > Java > Editor - Content Assist > Auto activation triggers for Java ,
设置框中默认是一个点,
现在将它改为:
以下为引用内容:


.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(,


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


打开 Eclipse 依次选择
Window > Preferences > Xml > Editor > Content Assist > Auto activation
设置框中默认是 <=: ,
现在将它改为:
以下为引用内容:
<=:.abcdefghijklmnopqrstuvwxyz(,

相关文章:

  • 2021-12-07
  • 2021-10-28
  • 2021-07-20
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2022-01-26
  • 2021-04-05
  • 2021-11-10
  • 2022-01-05
相关资源
相似解决方案