PhpStorm brings Smarty 3 PHP Template Engine power to its users.
First of all it supports Smarty syntax, highlights keywords, automatically closes tags and enables autocompletion of Smarty tags in template files:
The IDE handles language mixtures like HTML, JavaScript and PHP code inside Smarty templates. It not only highlights HTML inside Smarty, but even provides autocompletion:
as well as useful quick-fixes. As shown on the screenshot below, the IDE offers you to adjust the image size to its original height.
Another very useful feature is the Structure view where you can overview a