Skip to content

Instantly share code, notes, and snippets.

@EthraZa EthraZa/tasks.json

Created Apr 21, 2016
What would you like to do?
// Visual Studio Code Arduino Tasks.json
// Author: Allan Brazute @ SpotApp
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
"version": "0.1.0",
"command": "bash",
"isShellCommand": true,
"showOutput": "always",
"args": ["-c"],
"tasks": [
"taskName": "Verify",
"suppressTaskName": true,
"isTestCommand": true,
"args": ["arduino -v --verify ${file}"]
"taskName": "Upload",
"suppressTaskName": true,
"isBuildCommand": true,
"args": ["arduino -v --upload ${file}"]
"taskName": "Serial Monitor",
"suppressTaskName": true,
"args": ["cat /dev/ttyACM0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.