Skip to content

Extract icon information from resource uri representing tree item #41535

@sandy081

Description

@sandy081

From @bpasero here

In my case I am showing files in the same way the explorer does. I would like to reuse the same icons the explorer uses for files without me having to introduce new icons. for that, maybe the API should allow a TreeItem to have a resource URI that we then simply take as ResourceLabel and support icons with? Even more, if we had an associated resource, we could automatically open a document with that resource on click?

Metadata

Metadata

Assignees

Labels

apifeature-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