Skip to content

How can I control the ordering of explorer trees? #45053

@DanTup

Description

@DanTup

I have an extension that contributes some trees in the explorer, some of which are much more important than others. I can't find a way to force the ordering of these - the "important" one always seems to come last.

I tried registering them in a different order but it didn't help. I tried hiding/showing one (using contexts) to see if that would force it to the bottom, but it didn't.

In my case, the "important" tree that I want above the others is hidden/shown based on some criteria, so I need to be able to hide it and then show it later without it having to be last.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtree-viewsExtension tree view issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions