Specifies the task's scope.
The task's name. Is presented in the user interface.
Optional
source: stringThe task's source (e.g. 'gulp', 'npm', ...). Is presented in the user interface.
Optional
execution: ShellExecution | ProcessExecution | CustomExecutionThe process, shell or custom execution.
Optional
problemMatchers: string | string[]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.
Optional
execution: ShellExecution | ProcessExecution | CustomExecutionThe process, shell or custom execution.
Optional
problemMatchers: string | string[]the names of problem matchers to use, like '$tsc'
or '$eslint'. Problem matchers can be contributed by an extension using
the problemMatchers
extension point.
Use the new constructors that allow specifying a scope for the task.
The task's definition.
Optional
detailA 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.
Optional
executionThe task's execution engine
Optional
groupThe 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.
Optional
isWhether the task is a background task or not.
The task's name
Optional
presentationThe presentation options. Defaults to an empty literal.
Optional
problemThe problem matchers attached to the task. Defaults to an empty array.
Run options for the task
Optional
scopeThe task's scope.
Optional
sourceA human-readable string describing the source of this shell task, e.g. 'gulp' or 'npm'.
Creates a new task.