From 330caf889b1328ed1168c86fac154b96092ac23e Mon Sep 17 00:00:00 2001 From: Jack Boyce Date: Thu, 1 Aug 2019 16:43:53 +0100 Subject: [PATCH] Add "Build Run Debug: Create single task that executes `Build Debug` before `Run Debug` to allow ability to assign a single shortcut to run both tasks. --- .vscode/tasks.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b7ab84e..d61c7b5 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -107,6 +107,17 @@ "panel": "shared" }, "command": "sh ${workspaceRoot}/.vscode/testDirs.sh ${workspaceRoot} ${workspaceFolder}" + }, + { + "type": "shell", + "label": "Build Run Debug", + "presentation": { + "reveal": "never", + "panel": "shared" + }, + "command": "make", + "args": ["RunDebug"], + "dependsOn": ["Build Debug"] } ] -} \ No newline at end of file +}