IntelliJ IDEA 2021.1 Help

Smarty

File | Settings | Languages & Frameworks | PHP | Smarty for Windows and Linux
IntelliJ IDEA | Preferences | Languages & Frameworks | PHP | Smarty for macOS
Ctrl+Alt+S
the Settings/Preferences button

The page is available only when the PHP plugin is enabled. The PHP plugin is not bundled with IntelliJ IDEA, but it can be installed on the Settings/Preferences | Plugins page as described in Installing plugins from JetBrains repository.

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

ItemDescription
Smarty left delimiterIn this field, specify the desired opening delimiter. By default, the field shows the opening curly brace {.
Smarty right delimiterIn 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: 08 March 2021