The tpl file extension does not recognize IDE phpstorm for autocomplete, you have to dial functions and any constructions manually

but js and php extensions flawlessly

    1 answer 1

    In the Settings/Editor/FileTypes/ settings, select the PHP extension and then click on the *.tpl to add the *.tpl and that's it!