Protected
Readonly
appProtected
cachedProtected
Readonly
commandsProtected
Readonly
editorProtected
Readonly
labelProtected
lastProtected
Readonly
loggerProtected
Readonly
messageProtected
monacoProtected
Readonly
openerProtected
Readonly
problemProtected
Readonly
problemProtected
Readonly
providedProtected
Readonly
quickProtected
runningProtected
Readonly
shellProtected
Readonly
shellProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
taskProtected
taskProtected
Readonly
taskProtected
Readonly
taskProtected
Readonly
terminalProtected
Readonly
variableProtected
Readonly
widgetProtected
Readonly
workspaceOpens an editor to configure the given task.
The cache token for the user interaction in progress
The task to configure
Creates a graph of dependencies tasks from the root task and verify there is no DAG (Directed Acyclic Graph). In case of detection of a circular dependency, an error is thrown with a message which describes the detected circular reference.
Protected
doOptional
option: RunTaskOptionReturns an array of the valid task configurations which are configured in tasks.json files
The cache token for the user interaction in progress
Protected
getProtected
getGets task configuration by task label or by a JSON object which represents a task identifier
The task label (string) or a JSON object which represents a TaskIdentifier (e.g. {"type":"npm", "script":"script1"})
an array of the task configurations
the correct TaskConfiguration object which matches the taskIdentifier
Get the last executed task.
the last executed task or undefined
.
Returns a task configuration provided by an extension by task source, scope and label. If there are no task configuration, returns undefined.
The cache token for the user interaction in progress
The source for configured tasks
The label of the task to find
The task scope to look in
Returns an array that contains the task configurations provided by the task providers for the specified task type.
The cache token for the user interaction in progress
Optional
type: stringThe task type (filter) associated to the returning TaskConfigurations
'*' indicates all tasks regardless of the type
Gets the matched task from an array of task configurations by TaskIdentifier. In case that more than one task configuration matches, we returns the first one.
The task label (string) or a JSON object which represents a TaskIdentifier (e.g. {"type":"npm", "script":"script1"})
An array of task configurations.
The correct TaskConfiguration object which matches the taskIdentifier.
Protected
getProtected
getReturns an array of the task configurations configured in tasks.json and provided by the extensions.
The cache token for the user interaction in progress
Protected
getProtected
getProtected
initProtected
isProtected
removeOptional
option: RunTaskOptionProtected
resolveTerminates a task that is actively running, and restarts it.
the TaskInfo of the task that is actively running
Optional
option: RunTaskOptionRuns a task, by the source and label of the task configuration. It looks for configured and detected tasks.
The cache token for the user interaction in progress
The source for configured tasks
The label to look for
The scope where to look for tasks
Runs a compound task
The cache token for the user interaction in progress
The task to be executed
Optional
option: RunTaskOptionoptions for executing the task
Runs a task, by task configuration label. Note, it looks for a task configured in tasks.json only.
The cache token for the user interaction in progress
The scope where to look for tasks
the label to look for
Protected
runRuns the resolved task and opens terminal widget if the task is based on a terminal process
the resolved task
Optional
option: RunTaskOptionoptions to run the resolved task
Optional
option: RunTaskOptionA recursive function that runs a task and all its sub tasks that it depends on. A task can be executed only when all of its dependencies have been executed, or when it doesn’t have any dependencies at all.
Optional
option: RunTaskOptionRuns a task identified by the given identifier, but only if found in the given workspace folder
The cache token for the user interaction in progress
The folder to restrict the search to
The identifier to look for
Client should call this method to indicate that a new user-level action related to tasks has been started, like invoking "Run Task..." This method returns a token that can be used with various methods in this service. As long as a client uses the same token, task providers will only asked once to contribute tasks and the set of tasks will be cached. Each time the a new token is used, the cache of contributed tasks is cleared.
a token to be used for task-related actions
Terminates a task that is actively running.
the TaskInfo of the task that is actively running
Updates the task configuration in the tasks.json
.
The task config, together with updates, will be written into the tasks.json
if it is not found in the file.
The cache token for the user interaction in progress
task that the updates will be applied to
the updates to be applied
The last executed task.