PhpStorm 2020.3 Help

Smarty

File | Settings | Languages and Frameworks | PHP | Smarty for Windows and Linux
PhpStorm | Preferences | Languages and Frameworks | PHP | Smarty for macOS
Ctrl+Alt+S
Icons general settings

The page is available only when the PHP plugin is enabled. The PHP plugin is bundled with PhpStorm and activated by default. If the plugin is disabled, enable it on the Settings/Preferences | Plugins page as described in Managing plugins.

Use this dialog box to specify the delimiters to enclose Smarty tags in.

ItemDescription
Smarty left delimiterIn this text box, specify the desired opening delimiter. By default, the field shows the opening curly brace {.
Smarty right delimiterIn this text box, specify the desired closing delimiter. By default, the field shows the closing curly brace }.
Use Smarty 3 whitespace policyWhen this checkbox is selected, delimiters followed by whitespace will not be parsed as template tags.

The checkbox is available when Smarty 3.0 or later is used.

Last modified: 08 March 2021