Skip to content

Commit 632940b

Browse files
committed
feat(quickPick): display file icon by adding resourceUri to workspace pick items
1 parent 17934f1 commit 632940b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/quickPick/pickWorktree.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ const mapWorkspacePickItems = (list: IRecentItem[], disPlayType: DefaultDisplayL
241241
kind: vscode.QuickPickItemKind.Default,
242242
label: item.label,
243243
description: uri.fsPath,
244+
resourceUri: vscode.Uri.file(item.path),
244245
iconPath: getRecentItemIcon(item.type),
245246
uriPath: uri.toString(),
246247
fsPath: uri.fsPath,

0 commit comments

Comments
 (0)