mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +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…
Add table
Add a link
Reference in a new issue