Skip to content

feat: [VS Code Extension] Feature Request: UI Guides & Visual Component Tree Lines for Jaspr Elements (Jaspr Component Tree) #914

Open

Description

@dunkmask2407

Description :

Is your feature request related to a problem?

When writing Jaspr code, developers often deal with deeply nested HTML-like elements (div, h1, section, etc.) and custom components. While indentation helps, it can quickly become challenging to visually track parent-child relationships, scope boundaries, and matching brackets across large component trees without getting lost.

Describe the solution you'd like

I would love to see a feature inspired by the "Flutter UI Guides" (introduced in the official Dart/Flutter VS Code extension, as seen on [dartcode.org](https://dartcode.org/releases/v3-1/)) adapted specifically for Jaspr.

It would add subtle vertical alignment lines, guide tracks, and visual tree indicators for Jaspr elements and components. This would allow developers to see a clear visual representation of the component/element hierarchy directly in the editor editor viewport.

Describe alternatives you've considered

Currently, we rely solely on standard text indentation and bracket matchers. However, this lacks the intuitive, structured visual tree guidance that Flutter developers benefit from when building widget trees.

Additional Context

  • Similar to how Flutter UI Guides trace Row, Column, or custom widgets, this could track Jaspr element builders (e.g., div(), section(), Component) and custom components.
  • This would dramatically improve the developer experience and readability when building complex layouts with Jaspr in VS Code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions