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
Allow changing the selection using the TreeDataProvider #28338
*duplicateIssue identified as a duplicate of another issue(s)apifeature-requestRequest for new features or functionalitytree-viewsExtension tree view issues
Any chance we get this in a soonish timeframe? The custom view (TreeDataProvider) interface exists now for while but is still very limited (no formatting, no tooltips, no per-node icons, no programmatic interaction like this selection change, expand state, no checkboxes, no columns etc.).
Extension writers could do a lot of cool things if we would be given the necessary APIs. Since these views are a major navigation element in vscode, I think they should get much more love from the vscode devs.
Well, it's pretty easy. A good start would be to give us all the possibilities the file tree has got:
It has icons per file type (hence per-tree-node-icons). We want that too.
It has colors for text, also a want-to-have. Markup support, like we have for tooltips in the code editor, would be awesome.
We need to show additional informations per node with a tooltip (at least long text should be shown there).
We must be able to select nodes (yes: multi selection) per code and read out the current status.
Check box support is also a pretty common requirement.
Multi column support is something I need as well. This content:
would then show much nicer. All the individual values nicely aligned.
Finally, the views should support docking, so that they can be spread accross all the available space. Currently I have 10 views stacked vertically. Even on a 4K screen this is all but easy to consume.
However, this list goes much further than the simple selection request. If you want I can open a new Github issue.
This issue considers only the API for programatically selecting tree items. I would request to create separate/different issues for each of the requirements/bugs, otherwise it will be difficult to track and am afraid that some of the requests are lost. Thanks for understanding.
I am working on a proposed API for this which will be available for authors to try out in this iteration and the plan to make it available in main API is in next milestone.
Orta Therox (@orta) This request is similar to the issue #30288. Is it ok, if I make this as a dup of #30288 as there is some conversation happened there?
*duplicateIssue identified as a duplicate of another issue(s)apifeature-requestRequest for new features or functionalitytree-viewsExtension tree view issues
Activity
mike-lischke commentedon Jan 21, 2018
Any chance we get this in a soonish timeframe? The custom view (TreeDataProvider) interface exists now for while but is still very limited (no formatting, no tooltips, no per-node icons, no programmatic interaction like this selection change, expand state, no checkboxes, no columns etc.).
Extension writers could do a lot of cool things if we would be given the necessary APIs. Since these views are a major navigation element in vscode, I think they should get much more love from the vscode devs.
sandy081 commentedon Feb 6, 2018
Mike Lischke (@mike-lischke)
TreeDataProviderapi supports icons for nodes. May I know what do you mean by per-node icons?Also Can you please elaborate about fomatting request?
mike-lischke commentedon Feb 6, 2018
Well, it's pretty easy. A good start would be to give us all the possibilities the file tree has got:
would then show much nicer. All the individual values nicely aligned.
However, this list goes much further than the simple selection request. If you want I can open a new Github issue.
mike-lischke commentedon Feb 6, 2018
I guess my list should go to #27823. Then we could close this issue here.
sandy081 commentedon Feb 14, 2018
This issue considers only the API for programatically selecting tree items. I would request to create separate/different issues for each of the requirements/bugs, otherwise it will be difficult to track and am afraid that some of the requests are lost. Thanks for understanding.
I am working on a proposed API for this which will be available for authors to try out in this iteration and the plan to make it available in main API is in next milestone.
sandy081 commentedon Feb 14, 2018
Orta Therox (@orta) This request is similar to the issue #30288. Is it ok, if I make this as a dup of #30288 as there is some conversation happened there?
orta commentedon Feb 14, 2018
Yep 👍