From e73ef11e8577fdd7260b977d1266d8070c3fdd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20Kapano=C4=9Flu?= Date: Wed, 18 Jan 2023 12:58:46 -0800 Subject: [PATCH] fix tasks.json for rust-analyzer compatibility --- .vscode/tasks.json | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a999cf4..bb7460c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,8 +2,11 @@ "version": "2.0.0", "tasks": [ { - "type": "cargo", - "command": "build", + "type": "process", + "command": "cargo", + "args": [ + "build", + ], "problemMatcher": [ "$rustc" ], @@ -11,11 +14,14 @@ "kind": "build", "isDefault": true }, - "label": "rust: cargo build" + "label": "Rust: cargo build" }, { - "type": "cargo", - "command": "test", + "type": "process", + "command": "cargo", + "args": [ + "test", + ], "problemMatcher": [ "$rustc" ], @@ -23,16 +29,19 @@ "kind": "test", "isDefault": true }, - "label": "rust: cargo test" + "label": "Rust: cargo test" }, { - "type": "cargo", - "command": "clippy", + "type": "process", + "command": "cargo", + "args": [ + "clippy", + ], "problemMatcher": [ "$rustc" ], "group": "build", - "label": "rust: cargo clippy" + "label": "Rust: cargo clippy" } ] } \ No newline at end of file