Clears 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
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.
Returns an array of the valid task configurations which are configured in tasks.json files
The cache token for the user interaction in progress
Gets 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
The 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.
Returns an array of the task configurations configured in tasks.json and provided by the extensions.
The cache token for the user interaction in progress
Kill task for a given id if task is found
Open user ser
Terminates a task that is actively running, and restarts it.
the TaskInfo of the task that is actively running
Runs 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
options 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
Runs the resolved task and opens terminal widget if the task is based on a terminal process
the resolved task
options to run the resolved task
Run selected text in the last active terminal.
Runs 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.
Runs 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
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.