Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TaskDefinition

A structure that defines a task kind in the system. The value must be JSON-stringifyable.

层级

  • TaskDefinition

Indexable

[name: string]: any

Additional attributes of a concrete task definition.

索引

Properties(1)

Properties(1)

Readonly type

type: string

The task definition describing the task provided by an extension. Usually a task provider defines more properties to identify a task. They need to be defined in the package.json of the extension under the 'taskDefinitions' extension point. The npm task definition for example looks like this

interface NpmTaskDefinition extends TaskDefinition {
    script: string;
}

Note that type identifier starting with a '$' are reserved for internal usages and shouldn't be used by extensions.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc | 站长统计