tasks.json (in VS Code)

Share

What is tasks.json in VS Code?

tasks.json is a configuration file containing JSON code used by VS Code that describes "tasks" like build tasks and test tasks that VS Code can run. For example, if you define a default build task for VS Code, you can run it with the keyboard shortcut Ctrl+Shift+B.

Where is the tasks.json file?

The file is saved in .vscode/tasks.json in your workspace folder.

It's generated automatically when you create a task via VS Code's GUI, so if you find this file without having manually created it, it's because VS Code created it for you.

Examples of tasks.json

Comments

Leave a Reply

Leave your thoughts! Required fields are marked *