{ "version": "2.0.0", "tasks": [ { "label": "Start Rustlings", "type": "shell", "command": "cargo", "args": [ "run" ], "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new", "clear": true }, "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [] }, { "label": "Rustlings: Run Exercise", "type": "shell", "command": "cargo", "args": [ "run", "--", "run", "${input:exerciseName}" ], "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [] }, { "label": "Rustlings: Get Hint", "type": "shell", "command": "cargo", "args": [ "run", "--", "hint", "${input:exerciseName}" ], "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [] }, { "label": "Rustlings: Reset Exercise", "type": "shell", "command": "cargo", "args": [ "run", "--", "reset", "${input:exerciseName}" ], "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [] } ], "inputs": [ { "id": "exerciseName", "description": "Exercise name (e.g., variables1, functions2)", "default": "", "type": "promptString" } ] }