diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 4 | ||||
-rw-r--r-- | editors/code/src/config.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index e4fc682df..02a9b7e5b 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -201,12 +201,12 @@ | |||
201 | ], | 201 | ], |
202 | "description": "Whether to run `cargo watch` on startup" | 202 | "description": "Whether to run `cargo watch` on startup" |
203 | }, | 203 | }, |
204 | "rust-analyzer.cargo-watch.check-arguments": { | 204 | "rust-analyzer.cargo-watch.command-arguments": { |
205 | "type": "string", | 205 | "type": "string", |
206 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", | 206 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
207 | "default": "" | 207 | "default": "" |
208 | }, | 208 | }, |
209 | "rust-analyzer.cargo-watch.check-command": { | 209 | "rust-analyzer.cargo-watch.command": { |
210 | "type": "string", | 210 | "type": "string", |
211 | "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", | 211 | "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
212 | "default": "check" | 212 | "default": "check" |
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index db46874dc..c1dd2c056 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose'; | |||
10 | 10 | ||
11 | export interface CargoWatchOptions { | 11 | export interface CargoWatchOptions { |
12 | enableOnStartup: CargoWatchStartupOptions; | 12 | enableOnStartup: CargoWatchStartupOptions; |
13 | checkArguments: string; | 13 | arguments: string; |
14 | checkCommand: string; | 14 | command: string; |
15 | trace: CargoWatchTraceOptions; | 15 | trace: CargoWatchTraceOptions; |
16 | } | 16 | } |
17 | 17 | ||