Fixes #99: Disambiguates VSCode Tasks

Using the equivalent command line as the task name caused some confusion.
Users were under the impression that they could use any valid cargo command as a preLaunchTask in the launch configurations.
This commit is contained in:
Christopher J. McClellan
2020-11-09 06:23:45 -05:00
parent 3cbcb9956a
commit eb68e8bba9
2 changed files with 7 additions and 7 deletions

10
.vscode/tasks.json vendored
View File

@@ -9,7 +9,7 @@
* but we need to provide a label for it,
* so we can invoke it from the debug launcher.
*/
"label": "cargo build",
"label": "Cargo Build (debug)",
"type": "process",
"command": "cargo",
"args": ["build"],
@@ -22,7 +22,7 @@
}
},
{
"label": "cargo build --release",
"label": "Cargo Build (release)",
"type": "process",
"command": "cargo",
"args": ["build", "--release"],
@@ -32,7 +32,7 @@
"group": "build"
},
{
"label": "cargo build --examples",
"label": "Cargo Build Examples (debug)",
"type": "process",
"command": "cargo",
"args": ["build","--examples"],
@@ -42,7 +42,7 @@
"group": "build"
},
{
"label": "cargo build --examples --release",
"label": "Cargo Build Examples (release)",
"type": "process",
"command": "cargo",
"args": ["build","--examples", "--release"],
@@ -52,7 +52,7 @@
"group": "build"
},
{
"label": "cargo clean",
"label": "Cargo Clean",
"type": "process",
"command": "cargo",
"args": ["clean"],