mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Revert accidental package.json changes
This commit is contained in:
parent
7a546490ec
commit
6343ddd009
1 changed files with 21 additions and 37 deletions
|
@ -261,57 +261,41 @@
|
||||||
"default": [],
|
"default": [],
|
||||||
"description": "Paths to exclude from analysis"
|
"description": "Paths to exclude from analysis"
|
||||||
},
|
},
|
||||||
|
"rust-analyzer.rustfmtArgs": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"default": [],
|
||||||
|
"description": "Additional arguments to rustfmt"
|
||||||
|
},
|
||||||
"rust-analyzer.useClientWatching": {
|
"rust-analyzer.useClientWatching": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "client provided file watching instead of notify watching."
|
"description": "client provided file watching instead of notify watching."
|
||||||
},
|
},
|
||||||
"rust-analyzer.rustfmt.extraArgs": {
|
"rust-analyzer.cargo-watch.enable": {
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"default": [],
|
|
||||||
"markdownDescription": "Additional `cargo fmt` arguments"
|
|
||||||
},
|
|
||||||
"rust-analyzer.rustfmt.overrideCommand": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"default": [],
|
|
||||||
"markdownDescription": "Advanced option, fully override `cargo fmt` command line"
|
|
||||||
},
|
|
||||||
"rust-analyzer.checkOnSave.enable": {
|
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"markdownDescription": "Run `cargo check` command for diagnostics on save"
|
"markdownDescription": "Run specified `cargo-watch` command for diagnostics on save"
|
||||||
},
|
},
|
||||||
"rust-analyzer.checkOnSave.cargoCommand": {
|
"rust-analyzer.cargo-watch.arguments": {
|
||||||
"type": "string",
|
|
||||||
"default": "check",
|
|
||||||
"markdownDescription": "Cargo command to run on save"
|
|
||||||
},
|
|
||||||
"rust-analyzer.checkOnSave.allTargets": {
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true,
|
|
||||||
"markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)"
|
|
||||||
},
|
|
||||||
"rust-analyzer.checkOnSave.extraArgs": {
|
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"markdownDescription": "Additional `cargo check` arguments",
|
"markdownDescription": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
"rust-analyzer.checkOnSave.overrideCommand": {
|
"rust-analyzer.cargo-watch.command": {
|
||||||
"type": "array",
|
"type": "string",
|
||||||
"items": {
|
"markdownDescription": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
|
||||||
"type": "string"
|
"default": "check"
|
||||||
},
|
},
|
||||||
"default": [],
|
"rust-analyzer.cargo-watch.allTargets": {
|
||||||
"markdownDescription": "Advanced option, fully override `cargo check` command line (this must include at least `--message-format=json`)"
|
"type": "boolean",
|
||||||
|
"markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)",
|
||||||
|
"default": true
|
||||||
},
|
},
|
||||||
"rust-analyzer.trace.server": {
|
"rust-analyzer.trace.server": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
Loading…
Reference in a new issue