diff --git a/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts b/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts index 528b95b01342c..4e856c3b65c2b 100644 --- a/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts +++ b/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts @@ -289,7 +289,7 @@ export interface ConfigurationProperties { label?: string; /** - * An optional indentifier which can be used to reference a task + * An optional identifier which can be used to reference a task * in a dependsOn or other attributes. */ identifier?: string; @@ -432,7 +432,7 @@ export interface BaseTaskRunnerConfiguration { taskSelector?: string; /** - * The problem matcher(s) to used if a global command is exucuted (e.g. no tasks + * The problem matcher(s) to used if a global command is executed (e.g. no tasks * are defined). A tasks.json file can either contain a global problemMatcher * property or a tasks property but not both. */ @@ -503,7 +503,7 @@ export interface ExternalTaskRunnerConfiguration extends BaseTaskRunnerConfigura osx?: BaseTaskRunnerConfiguration; /** - * Linux speciif task configuration + * Linux specific task configuration */ linux?: BaseTaskRunnerConfiguration; } @@ -913,13 +913,13 @@ namespace CommandConfiguration { } } - interface BaseCommandConfiguationShape extends BaseCommandProperties, LegacyCommandProperties { + interface BaseCommandConfigurationShape extends BaseCommandProperties, LegacyCommandProperties { } - interface CommandConfiguationShape extends BaseCommandConfiguationShape { - windows?: BaseCommandConfiguationShape; - osx?: BaseCommandConfiguationShape; - linux?: BaseCommandConfiguationShape; + interface CommandConfigurationShape extends BaseCommandConfigurationShape { + windows?: BaseCommandConfigurationShape; + osx?: BaseCommandConfigurationShape; + linux?: BaseCommandConfigurationShape; } const properties: MetaData[] = [ @@ -928,7 +928,7 @@ namespace CommandConfiguration { { property: 'presentation', type: PresentationOptions } ]; - export function from(this: void, config: CommandConfiguationShape, context: ParseContext): Tasks.CommandConfiguration | undefined { + export function from(this: void, config: CommandConfigurationShape, context: ParseContext): Tasks.CommandConfiguration | undefined { let result: Tasks.CommandConfiguration = fromBase(config, context)!; let osConfig: Tasks.CommandConfiguration | undefined = undefined; @@ -945,7 +945,7 @@ namespace CommandConfiguration { return isEmpty(result) ? undefined : result; } - function fromBase(this: void, config: BaseCommandConfiguationShape, context: ParseContext): Tasks.CommandConfiguration | undefined { + function fromBase(this: void, config: BaseCommandConfigurationShape, context: ParseContext): Tasks.CommandConfiguration | undefined { let name: Tasks.CommandString | undefined = ShellString.from(config.command); let runtime: Tasks.RuntimeType; if (Types.isString(config.type)) { @@ -1172,7 +1172,7 @@ namespace ProblemMatcherConverter { return localProblemMatcher; } } - context.taskLoadIssues.push(nls.localize('ConfigurationParser.invalidVaraibleReference', 'Error: Invalid problemMatcher reference: {0}\n', value)); + context.taskLoadIssues.push(nls.localize('ConfigurationParser.invalidVariableReference', 'Error: Invalid problemMatcher reference: {0}\n', value)); return undefined; } else { let json = value;