WebStorm 中的 Velocity 语法高亮 [英] Velocity syntax highlighting in WebStorm

查看:56
本文介绍了WebStorm 中的 Velocity 语法高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WebStorm 中是否有 Velocity 语法的插件/下载?

我遇到了

解决方案

由于 WebStorm 不支持它,但我建议将 .vm 文件与 xhtml 相关联.您可以通过打开 search action 对话框(在 Mac 中为 cmd+shift+a)并搜索 associate with file type 来实现.然后选择 xhtml 格式.它不会正确突出显示所有与速度相关的代码,但它是最好的可用解决方案.

Is there a plugin/download for Velocity syntax in WebStorm?

I came across this post but do not have the dir filetypes in my path (for Mac). I'd like some syntax highlighting for easier reading if it's available:

解决方案

Since it is not supported in WebStorm yet I would suggest associating .vm files with xhtml. You can do that by opening the search action dialog (cmd+shift+a in mac) and searching for associate with file type. Then choose the xhtml format. It will not highlight all the velocity related code correctly but it is the best available solution.

这篇关于WebStorm 中的 Velocity 语法高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆