Skip to content

[Profiler] HTML comments for twig blocks #32175

Closed
@shyim

Description

@shyim

Description
When a project has huge amount of template files and a new developer has to change something in template, he will search long to find the location he wants to modify. I developed a new NodeVisitor which adds html comments for starting and ending a block. This helps to see directly in developer console, which file has to be modified.

Maybe it's a good addition to the profiler bundle, to toggle such html comments. What are you thinking?

Example

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions