diff options
author | Aleksey Kladov <[email protected]> | 2020-03-31 16:00:15 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-31 16:00:15 +0100 |
commit | 6343ddd00945b7977ca71c645432224ffc130f53 (patch) | |
tree | 2e04756d5cb9c365ae165e02d80c5bcb1bc12623 /editors/code | |
parent | 7a546490ecb93b9da1cd888086f00a69ebd8d0aa (diff) |
Revert accidental package.json changes
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 50 |
1 files changed, 17 insertions, 33 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index f1278b296..ba31c4e63 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -261,57 +261,41 @@ | |||
261 | "default": [], | 261 | "default": [], |
262 | "description": "Paths to exclude from analysis" | 262 | "description": "Paths to exclude from analysis" |
263 | }, | 263 | }, |
264 | "rust-analyzer.useClientWatching": { | 264 | "rust-analyzer.rustfmtArgs": { |
265 | "type": "boolean", | ||
266 | "default": true, | ||
267 | "description": "client provided file watching instead of notify watching." | ||
268 | }, | ||
269 | "rust-analyzer.rustfmt.extraArgs": { | ||
270 | "type": "array", | ||
271 | "items": { | ||
272 | "type": "string" | ||
273 | }, | ||
274 | "default": [], | ||
275 | "markdownDescription": "Additional `cargo fmt` arguments" | ||
276 | }, | ||
277 | "rust-analyzer.rustfmt.overrideCommand": { | ||
278 | "type": "array", | 265 | "type": "array", |
279 | "items": { | 266 | "items": { |
280 | "type": "string" | 267 | "type": "string" |
281 | }, | 268 | }, |
282 | "default": [], | 269 | "default": [], |
283 | "markdownDescription": "Advanced option, fully override `cargo fmt` command line" | 270 | "description": "Additional arguments to rustfmt" |
284 | }, | 271 | }, |
285 | "rust-analyzer.checkOnSave.enable": { | 272 | "rust-analyzer.useClientWatching": { |
286 | "type": "boolean", | 273 | "type": "boolean", |
287 | "default": true, | 274 | "default": true, |
288 | "markdownDescription": "Run `cargo check` command for diagnostics on save" | 275 | "description": "client provided file watching instead of notify watching." |
289 | }, | ||
290 | "rust-analyzer.checkOnSave.cargoCommand": { | ||
291 | "type": "string", | ||
292 | "default": "check", | ||
293 | "markdownDescription": "Cargo command to run on save" | ||
294 | }, | 276 | }, |
295 | "rust-analyzer.checkOnSave.allTargets": { | 277 | "rust-analyzer.cargo-watch.enable": { |
296 | "type": "boolean", | 278 | "type": "boolean", |
297 | "default": true, | 279 | "default": true, |
298 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" | 280 | "markdownDescription": "Run specified `cargo-watch` command for diagnostics on save" |
299 | }, | 281 | }, |
300 | "rust-analyzer.checkOnSave.extraArgs": { | 282 | "rust-analyzer.cargo-watch.arguments": { |
301 | "type": "array", | 283 | "type": "array", |
302 | "items": { | 284 | "items": { |
303 | "type": "string" | 285 | "type": "string" |
304 | }, | 286 | }, |
305 | "markdownDescription": "Additional `cargo check` arguments", | 287 | "markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", |
306 | "default": [] | 288 | "default": [] |
307 | }, | 289 | }, |
308 | "rust-analyzer.checkOnSave.overrideCommand": { | 290 | "rust-analyzer.cargo-watch.command": { |
309 | "type": "array", | 291 | "type": "string", |
310 | "items": { | 292 | "markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", |
311 | "type": "string" | 293 | "default": "check" |
312 | }, | 294 | }, |
313 | "default": [], | 295 | "rust-analyzer.cargo-watch.allTargets": { |
314 | "markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)" | 296 | "type": "boolean", |
297 | "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)", | ||
298 | "default": true | ||
315 | }, | 299 | }, |
316 | "rust-analyzer.trace.server": { | 300 | "rust-analyzer.trace.server": { |
317 | "type": "string", | 301 | "type": "string", |