How to enable Twig template autocompletion with Symfony integration plugin in phpStorm
The plugin currently is lacking support for the new Symfony’s directory structure
since we keep Twig files in the templates/
directory.
The workaround is very simple, one just has to add the missing directory to the list of known Twig paths:
That’s all, enjoy:
Written on November 1, 2018