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.svg

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.

Item Description
Smarty left delimiter In this text box, specify the desired opening delimiter. By default, the field shows the opening curly brace {.
Smarty right delimiter In this text box, specify the desired closing delimiter. By default, the field shows the closing curly brace }.
Use Smarty 3 whitespace policy When 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: 19 August 2020