PhpStorm 2022.1 Help

Twig

Use this page to configure custom syntax for Twig templates.

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: 20 December 2021