VS Code tasks.json Generator
Build a VS Code tasks.json with label, type, command, group and problemMatcher. Includes configurable default shell.
—
VS Code tasks without memorising the schema
The VS Code tasks file lets you run project commands from the editor, with a shortcut and with the output captured. The real value is not saving a trip to the terminal — it is the problem matcher, which reads the output, recognises error messages and turns them into markers in the code and entries in the problems list.
Fill in the label, the type, the command and the group, and the page assembles the JSON with the correct schema version. The group is what makes the task appear under the run build or run test commands, and marking it as the group default is what allows firing it straight from the shortcut, without picking from a list.
The problem matcher field deserves attention. Leaving it empty makes the editor ask every time how to interpret the output, which gets tiring fast. Several matchers ship built in, and extensions add their own. When none fits, you can declare one with your own regular expression — and when the output has no errors to recognise, the right move is declaring an explicitly empty list so the editor stops asking.
Frequently asked questions
What is the difference between task types?
How do I pass arguments containing spaces?
Can tasks be chained?
Related Tools
VS Code Snippet Generator
Build a JSON snippet ready to paste into VS Code *.code-snippets files, with prefix, multi-line body and tabstops $1, $2.
VS Code Keybinding Generator
Generate entries for VS Code keybindings.json with key, command and when-context. Custom shortcut in seconds.
JSON Flatten / Unflatten
Flatten a nested JSON into dot-notation keys (e.g. user.address.city) and rebuild the reverse path. Useful to export to CSV, generate .env files or compare configs. Everything in your browser.
Multistage Dockerfile Builder
Generates a multistage Dockerfile (builder + runtime) for Node.js apps — copies node_modules only from the builder.
PWA manifest.json Generator
Build a manifest.json for a PWA (name, short_name, theme_color, background_color, display, icons) with preview.
SemVer Range Tester
Tests which versions satisfy a semver range (^1.2.3, ~2.0, >=1 <2) and explains the range as a lower and an upper bound.