PhpStorm 2024.2 Help

Twig

Use this page to configure custom syntax for Twig templates.

Item

Description

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 February 2024