Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>YAML Task RunnerNew to Visual Studio Code? Get it now.
YAML Task Runner

YAML Task Runner

Bassam Abozaid

|
11 installs
| (0) | Free
Run specific tasks when hovering over them with specific tools and flags. It picks up the name of the task and complete the rest based on the configuration.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Yaml Task Runner

Run Tasks easily when hovering your mouse on your task.

Features

  • Hovering over tasks to show run command

Image

  • List of available tasks by running Show Yaml Tasks

Image

Requirements

It will run automatically upon installing when opening (yaml,yml) files.

Currently, yaml file needs to follow specific scheme. Task should be in build.spec.tasks.name

Tasks is an array.

Extension Settings

The following settings can be configured:-

This extension contributes the following settings:

  • yaml-task-runner.tool: Tool to be used when running the task. eg. 'docker', 'docker-compose', 'kubectl', 'helm', 'kustomize', 'terraform', etc.
  • yaml-task-runner.mainFlag: Add the task name in a flag. Leave empty if you want to run the task directly. eg. docker run -name ''
  • yaml-task-runner.additionalFlags: Additional Flags to be added after the task name. eg. docker run -name '' -rm -interactive. It concatenates - before each flag.
  • yaml-task-runner.precedingFlags: Additional Flags to be added before the task name. eg. docker run -rm -interactive -name ''. It concatenates - before each flag.
  • yaml-task-runner.exportToFile: Add '> ' at the end of the command to export the output to a file. eg. docker run -name '' >
  • yaml-task-runner.taskPath: Path to the tasks array in the YAML file (e.g., 'build.spec.tasks').
  • yaml-task-runner.identifierField: Field name used to identify tasks (e.g., 'name').
  • yaml-task-runner.disableHover: Disabling the hover for the task name. If you want to disable the hover for the task name, set it to true.
  • yaml-task-runner.disablePlayButtons: Disabling the play buttons for the task name. If you want to disable the play buttons for the task name, set it to true.

Known Issues

Release Notes

0.0.6

  • Trimming left the task name before appending to tool name.

0.0.5

  • Added precedingFlags option to add option before the main flag.

0.0.4

  • Added option to disable hovering message.
  • Added option to disable play buttons.
  • Added Run Task clickable above task names.

0.0.3

  • Replaced Terminal name when running task to just task name

0.0.2

  • Added exportToFile option.
  • Made default scheme for yaml files configurable.
  • Showing/Hiding Yaml Task Runner status bar based on the opened tab whether it's .yml or .yaml

0.0.1

Initial release of Yaml Task Runner


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft