A
A
Andrew2016-06-09 15:45:22
phpstorm
Andrew, 2016-06-09 15:45:22

How to force see Twig templates in phpStorm?

Hello, I saw that there is twig integration in phpstorm (auto-replacement, auto-completion in templates, and so on), but this only works if the template file extension is *.twig. Is it possible to somehow teach to see the twig storm templates with the html extension?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-06-09
@ntzch

File -> Settings -> Editor -> File Types
Select Twig there and add the .html extension to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question