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"
|
"description": "Whether to run `cargo watch` on startup"
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo-watch.check-arguments": {
|
"rust-analyzer.cargo-watch.command-arguments": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo-watch.check-command": {
|
"rust-analyzer.cargo-watch.command": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
|
"description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
|
||||||
"default": "check"
|
"default": "check"
|
||||||
|
@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose';
|
|||||||
|
|
||||||
export interface CargoWatchOptions {
|
export interface CargoWatchOptions {
|
||||||
enableOnStartup: CargoWatchStartupOptions;
|
enableOnStartup: CargoWatchStartupOptions;
|
||||||
checkArguments: string;
|
arguments: string;
|
||||||
checkCommand: string;
|
command: string;
|
||||||
trace: CargoWatchTraceOptions;
|
trace: CargoWatchTraceOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user