如何在PHPStorm中添加伏特语法检查 [英] How can I add volt syntax checking in PHPStorm
本文介绍了如何在PHPStorm中添加伏特语法检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望能够在PHPStorm for Volt(Phalcon的模板引擎)中突出显示语法.
I want to be able to have syntax highlighting in PHPStorm for Volt, Phalcon's template engine.
有办法吗?
推荐答案
在PHPStorm中,单击File -> Settings
In PHPStorm, click File -> Settings
在选项的左侧,单击Editor -> File Types
在右侧显示的列表上,向下滚动并选择Twig
On the list that appears on the right, scroll down and select Twig
在底部面板中,单击+
按钮以添加新的通配符并添加
In the bottom panel, click the +
button to add a new wildcard and add
*.volt
单击确定",然后再次单击确定".
Click OK and then OK again.
这篇关于如何在PHPStorm中添加伏特语法检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文