我希望能够在PHPStorm for Phalcon的模板引擎Volt中进行语法高亮显示。
有办法吗?
在PHPStorm中,单击File -> Settings
File -> Settings
在选项的左侧单击Editor -> File Types
Editor -> File Types
在右侧显示的列表中,向下滚动并选择Twig
Twig
在底部面板中,单击+按钮以添加新通配符并添加
+
*.volt
单击确定,然后再次单击确定。
右键单击项目选项卡中的.volt文件。点击associate with a file type。选择twig。
.volt
associate with a file type
twig