Creates a new task.
Specifies the task's scope. It is either a global or a workspace task or a task for a specific workspace folder. Global tasks are currently not supported.
The task's name. Is presented in the user interface.
The task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
The process or shell execution.
the names of problem matchers to use, like '$tsc'
or '$eslint'. Problem matchers can be contributed by an extension using
the problemMatchers
extension point.
Creates a new task.
The task's name. Is presented in the user interface.
The task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
The process or shell execution.
the names of problem matchers to use, like '$tsc'
or '$eslint'. Problem matchers can be contributed by an extension using
the problemMatchers
extension point.
The task's definition.
The task's scope.
The task's name
A human-readable string which is rendered less prominently on a separate line in places
where the task's name is displayed. Supports rendering of theme icons
via the $(<name>)
-syntax.
The task's execution engine
Whether the task is a background task or not.
A human-readable string describing the source of this shell task, e.g. 'gulp'
or 'npm'. Supports rendering of theme icons via the $(<name>)
-syntax.
The task group this tasks belongs to. See TaskGroup for a predefined set of available groups. Defaults to undefined meaning that the task doesn't belong to any special group.
The presentation options. Defaults to an empty literal.
The problem matchers attached to the task. Defaults to an empty array.
Run options for the task
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
A task to execute