Mostafa Talebi Mostafa Talebi - 7 months ago 54
PHP Question

How to treat .tpl syntax highlighting like php's syntax highlighting in PHPStorm

I use PHPStorm

I need to know how could I treat .tpl files syntax highlighting like that of .php syntax highlighting?


If you want to treat .tpl files in the same way as .php, then you will have to re-assign *.tpl pattern to PHP files type in Settings | File Types

P.S. This is IDE-wide setting and will affect all projects