Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add volt syntax checking in PHPStorm

I want to be able to have syntax highlighting in PHPStorm for Volt, Phalcon's template engine.

Is there a way to do so?

like image 699
Nikolaos Dimopoulos Avatar asked Jul 10 '13 16:07

Nikolaos Dimopoulos


1 Answers

In PHPStorm, click File -> Settings

On the left side of the options click Editor -> File Types

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.

like image 159
Nikolaos Dimopoulos Avatar answered Sep 18 '22 13:09

Nikolaos Dimopoulos