Last Updated: February 25, 2016
·
3.639K
· mejt

Enable highlight lines in PhpStorm for .volt (Phalcon) templates

Volt is template engine for Phalcon Framework and it is very similar to twig. At the moment PhpStorm doesn't support .volt templates and these files are unreadable.

If volt is similar to twig then you can enable reading .volt files as .twig.

Easy way to better world ;-)

Come on to File > Settings > Editor > File Types, and find Twig in "Recognize file types", and in "registered patterns" add new pattern "*.volt". Save it.

Happy codding ;-)

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside