Skip to content

Conversation

dankeboy36
Copy link
Contributor

@dankeboy36 dankeboy36 commented Oct 14, 2025

Closes: #548


vscode-elements_elements_549.mov
  • I used the names label and description to match the VS Code TreeItem API.
  • I named the actions slot after <vscode-collapsible> for consistency.
  • I have shamelessly stolen the styles for the description, actions, and decorations, etc., from VS Code.
  • I kept the action and <vscode-toolbar-button> implementations independent from the tree, but included an example to show that integration is possible. The demo now mirrors the SCM view, including actions, decorators, descriptions, and text overflow handling.

@dankeboy36 dankeboy36 force-pushed the fix/548/expose-tree-item-parts branch from a0d19f6 to 2b89f7f Compare October 14, 2025 19:50
@dankeboy36 dankeboy36 changed the title fix: expose tree-item parts for customization fix: add description and actions slot to tree item Oct 14, 2025
@dankeboy36 dankeboy36 marked this pull request as draft October 15, 2025 09:52
@dankeboy36 dankeboy36 force-pushed the fix/548/expose-tree-item-parts branch 3 times, most recently from 3613c91 to 3f4537b Compare October 15, 2025 14:15
@dankeboy36 dankeboy36 marked this pull request as ready for review October 15, 2025 14:20
@dankeboy36 dankeboy36 force-pushed the fix/548/expose-tree-item-parts branch from 3f4537b to 6cfe7fb Compare October 15, 2025 14:29
@dankeboy36 dankeboy36 changed the title fix: add description and actions slot to tree item fix: expose tree item decoration lane Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vscode tree styling limitations

1 participant