I wanted to solve the problem with the tips, installed an additional plugin from this article https://github.com/dmarcotte/idea-handlebars/issues/84
Hey @ hawkin29, it’s not like it’s not included. Checking the Preferences -> Plugins and Make-It-Yourself Plugin Installed Check (Preferences-> File Types) (for instance, if your filename is "myfile.hbs", then ensure that "* .hbs" is listed for Handlebars / Mustache) If not, we'll try something else!
The only cant is that when I "added" the .php extension, then its PHP was not in the drop-down box, so I simply stupidly hammered into the first line "* .php", which naturally did not work. Then I deleted this line and took down the plugin, but everything went completely differently than I expected, and now everything is displayed completely crooked. Help me please. 
*.phpassociated with text files. You need to add*.phpto the list of patterns registered for PHP type - lena