Skip to content

TreeDataProvider: allow selecting a TreeItem without affecting its collapsibleState #34130

@patrys

Description

@patrys

Currently clicking an item will both select it and change its expanded/collapsed state. This results in very weird UX as you need to click the items to interact with them.

I have an extension that provides a tree outline of the currently opened file and clicking a class name will currently select that class in the editor and at the same time expand/collapse its children in the tree view.

Related: patrys/vscode-code-outline#24

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytree-viewsExtension tree view issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions