mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-15 06:33:58 +00:00
Add "cargo clippy" task preset
This commit is contained in:
parent
7f226fc912
commit
c99a5ae312
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class CargoTaskProvider implements vscode.TaskProvider {
|
||||||
const defs = [
|
const defs = [
|
||||||
{ command: "build", group: vscode.TaskGroup.Build },
|
{ command: "build", group: vscode.TaskGroup.Build },
|
||||||
{ command: "check", group: vscode.TaskGroup.Build },
|
{ command: "check", group: vscode.TaskGroup.Build },
|
||||||
|
{ command: "clippy", group: vscode.TaskGroup.Build },
|
||||||
{ command: "test", group: vscode.TaskGroup.Test },
|
{ command: "test", group: vscode.TaskGroup.Test },
|
||||||
{ command: "clean", group: vscode.TaskGroup.Clean },
|
{ command: "clean", group: vscode.TaskGroup.Clean },
|
||||||
{ command: "run", group: undefined },
|
{ command: "run", group: undefined },
|
||||||
|
|
Loading…
Reference in a new issue