Protected ReadonlyappProtectedcachedProtected ReadonlycommandsProtected ReadonlyeditorProtected ReadonlylabelProtectedlastProtected ReadonlyloggerProtected ReadonlymessageProtectedmonacoProtected ReadonlyopenerProtected ReadonlyproblemProtected ReadonlyproblemProtected ReadonlyprovidedProtected ReadonlyquickProtectedrunningProtected ReadonlyshellProtected ReadonlyshellProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlytaskProtectedtaskProtected ReadonlytaskProtected ReadonlytaskProtected ReadonlyterminalProtected ReadonlyvariableProtected ReadonlywidgetProtected ReadonlyworkspaceClears the list of recently used tasks.
Opens an editor to configure the given task.
The cache token for the user interaction in progress
The task to configure
'childTaskIdentifier' may be a string (a task label) or a JSON object which represents a TaskIdentifier (e.g. {"type":"npm", "script":"script1"})
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.
ProtecteddoOptionaloption: RunTaskOptionReturns an array of the valid task configurations which are configured in tasks.json files
The cache token for the user interaction in progress
ProtectedgetProtectedgetGets 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
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
Optionaltype: stringThe task type (filter) associated to the returning TaskConfigurations
'*' indicates all tasks regardless of the type
Returns an array of task types that are registered, including the default types
Returns an array of running tasks 'TaskInfo' objects
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.
ProtectedgetProtectedgetReturns an array of the task configurations configured in tasks.json and provided by the extensions.
The cache token for the user interaction in progress
ProtectedgetProtectedgetProtectedinitProtectedisKill task for a given id if task is found
Open user ser
ProtectedremoveOptionaloption: RunTaskOptionProtectedresolveTerminates a task that is actively running, and restarts it.
the TaskInfo of the task that is actively running
Optionaloption: 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
Optionaloption: 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
Run the last executed task.
The cache token for the user interaction in progress
ProtectedrunRuns the resolved task and opens terminal widget if the task is based on a terminal process
the resolved task
Optionaloption: RunTaskOptionoptions to run the resolved task
Run selected text in the last active terminal.
Optionaloption: RunTaskOptionRuns the first task with the given label.
The cache token for the user interaction in progress
The label of the task to be executed
A 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.
Optionaloption: 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
The task configuration file has changed, so a client might want to refresh its configurations
an array of strings, each one being a task label
Terminates a task that is actively running.
the TaskInfo of the task that is actively running
eslint-disable-next-line @typescript-eslint/no-explicit-any
The last executed task.