Skip to content

Add icon path to QuickPickItem class #45214

@DanTup

Description

@DanTup

In #39132 (comment) I was advised to use my own picker in place of showWorkspaceFolderPick so that I could customise which folders appear. I'm now trying to do that but found that it only takes in a string[] so you can't achieve the same UI as the built-in one which puts the leaf folder name first:

picker

It would be great if we could provide it some custom object with some properties for labels and then get the whole object back on selection (eg. so we don't have to look a complex object back up from the returned string).

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)apifeature-requestRequest for new features or functionalityquick-pickQuick-pick widget issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions