今天自己写一个SSM框架的权限控制demo,发现在写xml文件时没有提示的功能,之前还好好的,查了一下资料,发现是xml默认打开方式不对。

解决方法:

菜单:Window -> Preferences -> General -> Editors -> File Associations 

(eclipse) 解决xml文件没有提示的问题 (按ALT+/没反应)

选中*.xml后在Associated editors下面这个框里选中XML Editor 点击右边的Default按钮选为默认方式,这样,在创建xml文件后默认可以有提示了(XML Editor方式)。

也可以对单个xml进行设置

(eclipse) 解决xml文件没有提示的问题 (按ALT+/没反应)

右键xml文件,open with下选中XML Editor方式,即可有提示功能了。

相关文章:

  • 2021-06-17
  • 2021-06-10
  • 2021-10-20
  • 2021-07-30
  • 2021-07-20
  • 2022-12-23
  • 2021-06-15
  • 2021-06-27
猜你喜欢
  • 2021-10-02
  • 2021-12-16
  • 2021-09-21
  • 2021-06-04
  • 2021-06-12
  • 2021-08-07
  • 2021-09-06
相关资源
相似解决方案