PhpStorm 2021.2 Help

Smarty

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 Installed tab of the Settings/Preferences | Plugins page, as described in Managing plugins.

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

Item

Description

Smarty left delimiter

In this field, specify the desired opening delimiter. By default, the field shows the opening curly brace {.

Smarty right delimiter

In this field, specify the desired closing delimiter. By default, the field shows the closing curly brace }.

Use Smarty3 whitespaces 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: 14 September 2021