this.messageService.show(Severity.Info,nls.localize('TaskSystem.activeSame.background','The task is already active and in background mode. To terminate the task use `F1 > terminate task`'));
this.messageService.show(Severity.Info,nls.localize('TaskSystem.activeSame.background','The task is already active and in background mode. To terminate the task use `F1 > terminate task`'));
}else{
}else{
this.getTaskSystem().show(task,true);
this.messageService.show(Severity.Info,nls.localize('TaskSystem.activeSame.noBackground','The task is already active. To terminate the task use `F1 > terminate task`'));
// this.messageService.show(Severity.Info, nls.localize('TaskSystem.activeSame.noBackground', 'The task is already active. To terminate the task use `F1 > terminate task`'));
}
}
}else{
}else{
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is already a task running. Terminate it first before executing another task.'),TaskErrors.RunningTask);
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is already a task running. Terminate it first before executing another task.'),TaskErrors.RunningTask);