eclipse velocity插件不能用
可能是eclipse版本太高,或者velocity不支持。
想要高亮.vm 可以不用velocity插件,设置代码高亮即可。
打开Eclipse --->window---->preference ----->Content type----->Text---->Html ----->Add ------>
弹出窗口 File type : 在输入框中输入 *.vm 点击OK ,选中新加入得*.vm 在下面的 Defualt encoding 中输入:
"utf-8“ 单击 update ,点击ok,设置完毕。重新打开*.vm 页面。