Accompanies OnCFD Newsletter #171
Attached is an example tasks.json file for running your Allrun & Allclean OpenFOAM scripts in VS Code via Tasks.
In VS Code, use cmd/ctrl + shift + p to bring up the command palette & type Tasks: Open User Tasks
Choose the Others option & it will create a tasks.json file in your user area & pop it open in the editor.
You could replace the contents of that file, with the contents of the one below ๐ (or just use it to crib from).
To run your new tasks: use cmd/ctrl + shift + p to bring up the palette, type "Run Tasks" & choose your task.
For more info see the original article ๐