PhpStorm 2021.2 Help

Twig

Use this page to configure custom syntax for Twig templates.

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