Apply suggestions from code review
Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
parent
b1bc629b83
commit
c40ee089f2
@ -201,12 +201,12 @@
|
||||
],
|
||||
"description": "Whether to run `cargo watch` on startup"
|
||||
},
|
||||
"rust-analyzer.cargo-watch.check-arguments": {
|
||||
"rust-analyzer.cargo-watch.command-arguments": {
|
||||
"type": "string",
|
||||
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||
"default": ""
|
||||
},
|
||||
"rust-analyzer.cargo-watch.check-command": {
|
||||
"rust-analyzer.cargo-watch.command": {
|
||||
"type": "string",
|
||||
"description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
|
||||
"default": "check"
|
||||
|
@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose';
|
||||
|
||||
export interface CargoWatchOptions {
|
||||
enableOnStartup: CargoWatchStartupOptions;
|
||||
checkArguments: string;
|
||||
checkCommand: string;
|
||||
arguments: string;
|
||||
command: string;
|
||||
trace: CargoWatchTraceOptions;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user