mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
feat: Add rust-analyzer.cargo.allTargets to configure passing --all-targets to cargo invocations
This commit is contained in:
parent
4b33850c39
commit
174af88e76
5 changed files with 31 additions and 9 deletions
|
|
@ -546,6 +546,11 @@
|
|||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
"rust-analyzer.cargo.allTargets": {
|
||||
"markdownDescription": "Pass `--all-targets` to cargo invocation. Overridden by `#rust-analyzer.check.allTargets#`\nwhen the latter is set.",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.cargo.autoreload": {
|
||||
"markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.",
|
||||
"default": true,
|
||||
|
|
@ -707,9 +712,12 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.check.allTargets": {
|
||||
"markdownDescription": "Check all targets and tests (`--all-targets`).",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
"markdownDescription": "Check all targets and tests (`--all-targets`). Overrides `#rust-analyzer.cargo.allTargets#`.",
|
||||
"default": null,
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
"rust-analyzer.check.command": {
|
||||
"markdownDescription": "Cargo command to use for `cargo check`.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue