提交 f6891b95 编写于 作者: D Dirk Baeumer

Fixes #27844: Task quick selection needs to filter on label

上级 9dc26570
......@@ -81,7 +81,7 @@ export abstract class QuickOpenHandler extends Quickopen.QuickOpenHandler {
return compare;
}
}
return a.name.localeCompare(b.name);
return a._label.localeCompare(b._label);
}
if (aKind === TaskSourceKind.Workspace) {
return -1;
......@@ -95,7 +95,7 @@ export abstract class QuickOpenHandler extends Quickopen.QuickOpenHandler {
let groupExtension = groupWorkspace;
let hadWorkspace = false;
for (let task of tasks) {
let highlights = Filters.matchesContiguousSubString(input, task.name);
let highlights = Filters.matchesContiguousSubString(input, task._label);
if (!highlights) {
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册