提交 c8fafc7d 编写于 作者: A Alex Ross

Do not add label to task commands by default

Fixes #69844
上级 3553c33e
......@@ -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(
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册