-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow changing the selection using the TreeDataProvider #28338
Comments
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. |
Also Can you please elaborate about fomatting request? |
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. |
I guess my list should go to #27823. Then we could close this issue here. |
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. |
Yep 👍 |
Steps to Reproduce:
I built an extension ( more details are in #28325 ) and in doing so, I really started wanted to be able to set the selection state programatically.
The text was updated successfully, but these errors were encountered: