Skip to content

Commit f6891b9

Browse files
committed
Fixes microsoft#27844: Task quick selection needs to filter on label
1 parent 9dc2657 commit f6891b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/parts/tasks/browser/quickOpen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export abstract class QuickOpenHandler extends Quickopen.QuickOpenHandler {
8181
return compare;
8282
}
8383
}
84-
return a.name.localeCompare(b.name);
84+
return a._label.localeCompare(b._label);
8585
}
8686
if (aKind === TaskSourceKind.Workspace) {
8787
return -1;
@@ -95,7 +95,7 @@ export abstract class QuickOpenHandler extends Quickopen.QuickOpenHandler {
9595
let groupExtension = groupWorkspace;
9696
let hadWorkspace = false;
9797
for (let task of tasks) {
98-
let highlights = Filters.matchesContiguousSubString(input, task.name);
98+
let highlights = Filters.matchesContiguousSubString(input, task._label);
9999
if (!highlights) {
100100
continue;
101101
}

0 commit comments

Comments
 (0)