Fixes #35352: Improving sample build task template to "solve" the "No build tasks found" message

This commit is contained in:
Dirk Baeumer 2017-11-08 21:13:01 +01:00
parent ec98cc17b0
commit 5f641c6d8d

View file

@ -1988,7 +1988,7 @@ class TaskService extends EventEmitter implements ITaskService {
this.showQuickPick(tasks,
nls.localize('TaskService.pickBuildTask', 'Select the build task to run'),
{
label: nls.localize('TaskService.noBuildTask', 'No build task to run found. Configure Tasks...'),
label: nls.localize('TaskService.noBuildTask', 'No build task to run found. Configure Build Task...'),
task: null
},
true).then((task) => {
@ -1996,7 +1996,7 @@ class TaskService extends EventEmitter implements ITaskService {
return;
}
if (task === null) {
this.runConfigureTasks();
this.runConfigureDefaultBuildTask();
return;
}
this.run(task, { attachProblemMatcher: true });