Mostafa Talebi Mostafa Talebi - 1 year ago 208
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download