PhpStorm 2017.1 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
/help/img/idea/2017.1/settings.png


The page is available only when the PHP plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling 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 check box is selected, delimiters followed by whitespace will not be parsed as template tags.

The check box is available when Smarty 3.0 or higher is used.

See Also

Reference:

Last modified: 19 July 2017