Skip to content

Allow programatically un-selecting an item in a contributed tree #48754

@DanTup

Description

@DanTup

We can select items in the tree node with reveal, but we can't un-select. For an outline view that follows the users cursor, it would be good to unselect when the user moves the cursor to some empty whitespace that doesn't have a matching node.

The existing explorer treeview also does this; if you open a file that's outside of the workspace folders (or create a new untitled file) then no items are selected in the tree.

Metadata

Metadata

Assignees

Labels

apifeature-requestRequest for new features or functionalitytree-viewsExtension tree view issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions