diff options
author | Emil Lauridsen <[email protected]> | 2019-12-25 19:23:44 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2019-12-25 19:26:06 +0000 |
commit | 0cdbd0814958e174c5481d6bf16bd2a7e53ec981 (patch) | |
tree | a58277467e67ebdf8584ad2edf398ca630d6fd35 /editors/code/package.json | |
parent | 71d2d81dcc879bbb7898df11ac00578e93b27ab5 (diff) |
Keep VSCode config mostly backwards compatible
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 5f4123397..69298e917 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -188,11 +188,6 @@ | |||
188 | "default": "ra_lsp_server", | 188 | "default": "ra_lsp_server", |
189 | "description": "Path to ra_lsp_server executable" | 189 | "description": "Path to ra_lsp_server executable" |
190 | }, | 190 | }, |
191 | "rust-analyzer.enableCargoCheck": { | ||
192 | "type": "boolean", | ||
193 | "default": true, | ||
194 | "description": "Run `cargo check` for diagnostics on save" | ||
195 | }, | ||
196 | "rust-analyzer.excludeGlobs": { | 191 | "rust-analyzer.excludeGlobs": { |
197 | "type": "array", | 192 | "type": "array", |
198 | "default": [], | 193 | "default": [], |
@@ -203,16 +198,26 @@ | |||
203 | "default": true, | 198 | "default": true, |
204 | "description": "client provided file watching instead of notify watching." | 199 | "description": "client provided file watching instead of notify watching." |
205 | }, | 200 | }, |
206 | "rust-analyzer.cargo-check.arguments": { | 201 | "rust-analyzer.cargo-watch.enable": { |
202 | "type": "boolean", | ||
203 | "default": true, | ||
204 | "description": "Run `cargo check` for diagnostics on save" | ||
205 | }, | ||
206 | "rust-analyzer.cargo-watch.arguments": { | ||
207 | "type": "array", | 207 | "type": "array", |
208 | "description": "`cargo-check` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo check --features=\"shumway,pdf\"` )", | 208 | "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
209 | "default": [] | 209 | "default": [] |
210 | }, | 210 | }, |
211 | "rust-analyzer.cargo-check.command": { | 211 | "rust-analyzer.cargo-watch.command": { |
212 | "type": "string", | 212 | "type": "string", |
213 | "description": "`cargo-check` command. (e.g: `clippy` will run as `cargo clippy` )", | 213 | "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
214 | "default": "check" | 214 | "default": "check" |
215 | }, | 215 | }, |
216 | "rust-analyzer.cargo-watch.allTargets": { | ||
217 | "type": "boolean", | ||
218 | "description": "Check all targets and tests (will be passed as `--all-targets`)", | ||
219 | "default": true | ||
220 | }, | ||
216 | "rust-analyzer.trace.server": { | 221 | "rust-analyzer.trace.server": { |
217 | "type": "string", | 222 | "type": "string", |
218 | "scope": "window", | 223 | "scope": "window", |
@@ -229,17 +234,6 @@ | |||
229 | "default": "off", | 234 | "default": "off", |
230 | "description": "Trace requests to the ra_lsp_server" | 235 | "description": "Trace requests to the ra_lsp_server" |
231 | }, | 236 | }, |
232 | "rust-analyzer.trace.cargo-watch": { | ||
233 | "type": "string", | ||
234 | "scope": "window", | ||
235 | "enum": [ | ||
236 | "off", | ||
237 | "error", | ||
238 | "verbose" | ||
239 | ], | ||
240 | "default": "off", | ||
241 | "description": "Trace output of cargo-watch" | ||
242 | }, | ||
243 | "rust-analyzer.lruCapacity": { | 237 | "rust-analyzer.lruCapacity": { |
244 | "type": "number", | 238 | "type": "number", |
245 | "default": null, | 239 | "default": null, |