deprecationMessage:nls.localize('JsonSchema.tasks.identifier.deprecated','User defined identifiers are deprecated. For custom task use the name as a reference and for tasks provided by extensions use their defined task identifier.')
};
constrerunBehavior:IJSONSchema={
type:'string',
enum:['reevauate','useEvaluated'],
description:nls.localize('JsonSchema.tasks.rerunBehavior','The task\'s behavior on rerun')
};
construnOptions:IJSONSchema={
type:'object',
properties:{
rerunBehavior:Objects.deepClone(rerunBehavior),
},
description:nls.localize('JsonSchema.tasks.runOptions','The task\'s run related options')
@@ -314,7 +328,8 @@ let taskConfiguration: IJSONSchema = {
problemMatcher:{
$ref:'#/definitions/problemMatcherType',
description:nls.localize('JsonSchema.tasks.matchers','The problem matcher(s) to use. Can either be a string or a problem matcher definition or an array of strings and problem matchers.')
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is already a task running. Terminate it first before executing another task.'),TaskErrors.RunningTask);
message=nls.localize('TaskSystem.activeSame.background','The task \'{0}\' is already active and in background mode.',Task.getQualifiedLabel(executeResult.task));
}else{
message=nls.localize('TaskSystem.activeSame.noBackground','The task \'{0}\' is already active.',Task.getQualifiedLabel(executeResult.task));
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is already a task running. Terminate it first before executing another task.'),TaskErrors.RunningTask);
MenuRegistry.addCommand({id:'workbench.action.tasks.reRunTask',title:{value:nls.localize('ReRunTaskAction.label',"Rerun Last Task"),original:'Rerun Last Task'},category:{value:tasksCategory,original:'Tasks'}});
return[undefined,undefined,newTaskError(Severity.Error,nls.localize('TerminalTaskSystem','Can\'t execute a shell command on an UNC drive using cmd.exe.'),TaskErrors.UnknownError)];
return[undefined,undefined,newTaskError(Severity.Error,nls.localize('TerminalTaskSystem','Can\'t execute a shell command on an UNC drive using cmd.exe.'),TaskErrors.UnknownError)];