You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: [VS Code Extension] Feature Request: UI Guides & Visual Component Tree Lines for Jaspr Elements (Jaspr Component Tree) #914
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.
Activity
Add UI guides for Jaspr component trees
Add UI guides for component trees