Skip to content

Commit 33a9b94

Browse files
bors[bot]matklad
andauthored
Merge #3791
3791: Revert accidental package.json changes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 7a54649 + 6343ddd commit 33a9b94

File tree

1 file changed

+17
-33
lines changed

1 file changed

+17
-33
lines changed

editors/code/package.json

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -261,57 +261,41 @@
261261
"default": [],
262262
"description": "Paths to exclude from analysis"
263263
},
264-
"rust-analyzer.useClientWatching": {
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": {
264+
"rust-analyzer.rustfmtArgs": {
278265
"type": "array",
279266
"items": {
280267
"type": "string"
281268
},
282269
"default": [],
283-
"markdownDescription": "Advanced option, fully override `cargo fmt` command line"
270+
"description": "Additional arguments to rustfmt"
284271
},
285-
"rust-analyzer.checkOnSave.enable": {
272+
"rust-analyzer.useClientWatching": {
286273
"type": "boolean",
287274
"default": true,
288-
"markdownDescription": "Run `cargo check` command for diagnostics on save"
289-
},
290-
"rust-analyzer.checkOnSave.cargoCommand": {
291-
"type": "string",
292-
"default": "check",
293-
"markdownDescription": "Cargo command to run on save"
275+
"description": "client provided file watching instead of notify watching."
294276
},
295-
"rust-analyzer.checkOnSave.allTargets": {
277+
"rust-analyzer.cargo-watch.enable": {
296278
"type": "boolean",
297279
"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"
299281
},
300-
"rust-analyzer.checkOnSave.extraArgs": {
282+
"rust-analyzer.cargo-watch.arguments": {
301283
"type": "array",
302284
"items": {
303285
"type": "string"
304286
},
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\"\"` )",
306288
"default": []
307289
},
308-
"rust-analyzer.checkOnSave.overrideCommand": {
309-
"type": "array",
310-
"items": {
311-
"type": "string"
312-
},
313-
"default": [],
314-
"markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)"
290+
"rust-analyzer.cargo-watch.command": {
291+
"type": "string",
292+
"markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
293+
"default": "check"
294+
},
295+
"rust-analyzer.cargo-watch.allTargets": {
296+
"type": "boolean",
297+
"markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)",
298+
"default": true
315299
},
316300
"rust-analyzer.trace.server": {
317301
"type": "string",

0 commit comments

Comments
 (0)