Show task detail in Configure Task

Fixes #104911
This commit is contained in:
Alex Ross 2020-08-18 15:23:55 +02:00
parent 77b355055c
commit 197b0fcd21

View file

@ -2963,7 +2963,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
if (tasks.length > 0) {
tasks = tasks.sort((a, b) => a._label.localeCompare(b._label));
for (let task of tasks) {
entries.push({ label: task._label, task, description: this.getTaskDescription(task) });
entries.push({ label: task._label, task, description: this.getTaskDescription(task), detail: this.showDetail() ? task.configurationProperties.detail : undefined });
if (!ContributedTask.is(task)) {
needsCreateOrOpen = false;
}