Steps to take before one starts developing a Phalcon project in PhpStorm:

1. Highlight Volt syntax in PHPStorm

Volt is a Phalcon’s template engine. Volt structure is very similar to Twig, therefore we can use Twig highlighting fo any *.volt files.

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.

Resources

  1. stackoverflow: How can I add volt syntax checking in PHPStorm

 

PhpStorm Setup for Phalcon development
Tagged on: