Skip to content

Instantly share code, notes, and snippets.

@grahamannett
Created August 22, 2019 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamannett/42c6ab73957b2f4136e8d1aca4f66caa to your computer and use it in GitHub Desktop.
Save grahamannett/42c6ab73957b2f4136e8d1aca4f66caa to your computer and use it in GitHub Desktop.
vscode tasks
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run File",
"command": "${config:python.pythonPath} ${file}",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true
}
},
{
"label": "unittest",
"command": "${config:python.pythonPath} -m unittest",
"type": "shell",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment