提交 cd0d6485 编写于 作者: A Alex Ross

Fix task name in quick pick recents

Fixes #93934
上级 098e25ec
......@@ -62,11 +62,7 @@ export class TaskQuickPick extends Disposable {
}
private createTaskEntry(task: Task | ConfiguringTask): TaskTwoLevelQuickPickEntry {
let entryLabel = this.guessTaskLabel(task);
if (!ConfiguringTask.is(task) && task.instance) {
entryLabel += + ' (' + task.instance + ')';
}
const entry: TaskTwoLevelQuickPickEntry = { label: entryLabel, description: this.taskService.getTaskDescription(task), task, detail: this.showDetail() ? task.configurationProperties.detail : undefined };
const entry: TaskTwoLevelQuickPickEntry = { label: this.guessTaskLabel(task), description: this.taskService.getTaskDescription(task), task, detail: this.showDetail() ? task.configurationProperties.detail : undefined };
entry.buttons = [{ iconClass: 'codicon-gear', tooltip: nls.localize('configureTask', "Configure Task") }];
return entry;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册