diff --git a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts index eac6a87eadbe86feebbe45aba0a7467de96af0ff..e2d9e2be9362762eda96c42e43cf11db3e1f42cc 100644 --- a/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts +++ b/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts @@ -422,7 +422,7 @@ taskDescription.default = { problemMatcher: [] }; definitions.showOutputType.deprecationMessage = nls.localize( - 'JsonSchema.tasks.showOputput.deprecated', + 'JsonSchema.tasks.showOutput.deprecated', 'The property showOutput is deprecated. Use the reveal property inside the presentation property instead. See also the 1.14 release notes.' ); taskDescriptionProperties.echoCommand.deprecationMessage = nls.localize( diff --git a/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts b/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts index 5132339f26d156ca31743f449d89c6db89118721..daf4f6a189c64c4c1319347da1401174d5ec8d1f 100644 --- a/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts +++ b/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts @@ -1079,7 +1079,7 @@ namespace CommandConfiguration { value.args = EMPTY_ARRAY; } if (value.suppressTaskName === undefined) { - value.suppressTaskName = false; + value.suppressTaskName = (context.schemaVersion === Tasks.JsonSchemaVersion.V2_0_0); } } @@ -1711,7 +1711,7 @@ namespace Globals { } CommandConfiguration.fillDefaults(value.command, context); if (value.suppressTaskName === undefined) { - value.suppressTaskName = false; + value.suppressTaskName = (context.schemaVersion === Tasks.JsonSchemaVersion.V2_0_0); } if (value.promptOnClose === undefined) { value.promptOnClose = true;