Skip to content

Snippet Usage Treeview Navigation #525

Open
@aswamy

Description

@aswamy

Is your feature request related to a problem? Please describe.

  • Theme code contains a lot of snippets
  • It's hard to tell where a snippet is used (from sections, blocks, or from other snippets) or if used at all (i.e. orphaned snippets)
  • When you update a snippet, it'd be great to know what areas of the code is affected

Describe the solution you'd like

  • When you open a snippet file, you can view where it is located in your render hierarchy
  • Any code that breaks the snippet for those sections/blocks/snippets will show an error next to it
  • You can view the number of instances the snippet is rendered

Image

Checklist

  • I have checked and made sure that the proposal adheres to this plugin's principles

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions