A VSCode extension that adds a command launcher to the sidebar.
$WORKSPACE_ROOT, $CURRENT_FILE_RELATIVE_PATH, etc.Simply define tasks in your VSCode settings.json:
{
"sideLauncher.tasks": [
{
"label": "Run Tests",
"command": "cd $WORKSPACE_ROOT && npm test"
},
{
"label": "Git Add Current File",
"type": "shellOnVSCode",
"command": "git add $CURRENT_FILE_RELATIVE_PATH"
}
]
}
You can also define global tasks in ~/.config/vscode-side-launcher/tasks.json.