Eclipse输入Java和XML代码自动提示功能

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

打 开 Eclipse 依次选择 Window > Preferences > Java > Editor - Content Assist > Auto activation triggers for Java ,设置框中默认是一个点,

现在将它改为:

以下为引用内容: .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ()

Eclipse输入Java和XML代码自动提示功能最简单的方法

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

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

现在将它改为:

以下为引用内容:  <=:.abcdefghijklmnopqrstuvwxyz(,

Eclipse输入Java和XML代码自动提示功能最简单的方法

OK啦,这样就可以只能提示啦~~~

相关文章:

  • 2021-12-01
  • 2021-04-08
  • 2021-05-23
  • 2021-09-26
  • 2021-12-27
猜你喜欢
  • 2021-04-05
  • 2021-10-10
  • 2022-01-05
  • 2022-01-26
  • 2022-12-23
相关资源
相似解决方案