自从用了eclipse 和 vm文件,他喵的每次打开vm文件都弹出associate file name with the 'HTML' content type and retry?窗口,气死我了,网上拔了半天也没找到解决问题。

果然,自己动手,丰衣足食,折腾一番,搞定原因!

首先,eclipse *.vm 文件,语法高亮设置:以下两个方式都可以

一、文件打开时使用的编辑器

General>>Editors>>File Associations

二、content type选项
General>>Content Types,选择Text>>Html,点击Add,输入*.vm,保存。


问题:如果每次打开出现下图,原因在于vm文件被text type 优先绑定了

eclipse *.vm 文件,每次都弹出associate file name with the 'HTML' content type and retry?窗口

解决方法为:如下图

General>>Content Types,选择Text ,下方选中*.vm,然后remove、apply。

eclipse *.vm 文件,每次都弹出associate file name with the 'HTML' content type and retry?窗口

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2021-06-03
  • 2021-11-11
  • 2021-12-15
猜你喜欢
  • 2021-05-20
  • 2022-02-03
  • 2021-11-24
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
相关资源
相似解决方案