提交 ffd644de 编写于 作者: D Dirk Baeumer

Fixes #57946: Deprecate identifier in tasks.json.

上级 fa30debe
......@@ -271,7 +271,8 @@ const version: IJSONSchema = {
const identifier: IJSONSchema = {
type: 'string',
description: nls.localize('JsonSchema.tasks.identifier', 'A user defined identifier to reference the task in launch.json or a dependsOn clause.')
description: nls.localize('JsonSchema.tasks.identifier', 'A user defined identifier to reference the task in launch.json or a dependsOn clause.'),
deprecationMessage: nls.localize('JsonSchema.tasks.identifier.deprecated', 'User defined identifiers are deprecated. Use task identifier literals instead when referencing a task in a dependsOn property or in a launch.json file.')
};
const options: IJSONSchema = Objects.deepClone(commonSchema.definitions.options);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册