General TreeView Question #2519
Unanswered
adrianstephens
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are really only two UIs open to extensions - Treeviews and Webviews; and the webview docs start with a 'only if you really must' disclaimer.
Although the Treeviews extensions create look and feel like the views used throughout vscode, the treeview api has a lot of limitations that make it impossible to recreate them fully, leaving extensions looking and feeling clunky in comparison.
A few simple examples:
Labels can't be edited (as they can in the file explorer and watch panel), so extensions have to use quickpick.
The font can't be changed, so we can't use a mono-spaced fonts, italics, bold, etc
The labels are monochrome
Drag and drop doesn't show insertion lines like the watch panel can.
Obviously there is an internal treeview api that is capable of much more than the one exposed to extension developers. So my actual questions are:
Beta Was this translation helpful? Give feedback.
All reactions