PhpStorm 2021.1 Help

Twig

Use this page to configure custom syntax for Twig templates.

ItemDescription
Tag block start /
Tag block end
In these fields, specify the syntax to use for tags. By default, the {% tag %} syntax is used.
Comment block start /
Comment block end
In these fields, specify the syntax to use for comments. By default, the {# comment #} syntax is used.
Variable block start /
Variable block end
In these fields, specify the syntax to use for the Variable blocks. By default, the {{ variable }} syntax is used.
Last modified: 08 March 2021