Auto merge of #16988 - Veykril:config-docs, r=Veykril
fix: Fix `allFeatures` config docs
This commit is contained in:
commit
ff8a24a740
@ -71,8 +71,7 @@ struct ConfigData {
|
|||||||
/// How many worker threads to handle priming caches. The default `0` means to pick automatically.
|
/// How many worker threads to handle priming caches. The default `0` means to pick automatically.
|
||||||
cachePriming_numThreads: ParallelCachePrimingNumThreads = "0",
|
cachePriming_numThreads: ParallelCachePrimingNumThreads = "0",
|
||||||
|
|
||||||
/// Pass `--all-targets` to cargo invocation. Overridden by `#rust-analyzer.check.allTargets#`
|
/// Pass `--all-targets` to cargo invocation.
|
||||||
/// when the latter is set.
|
|
||||||
cargo_allTargets: bool = "true",
|
cargo_allTargets: bool = "true",
|
||||||
/// Automatically refresh project info via `cargo metadata` on
|
/// Automatically refresh project info via `cargo metadata` on
|
||||||
/// `Cargo.toml` or `.cargo/config.toml` changes.
|
/// `Cargo.toml` or `.cargo/config.toml` changes.
|
||||||
@ -166,7 +165,8 @@ struct ConfigData {
|
|||||||
/// Run the check command for diagnostics on save.
|
/// Run the check command for diagnostics on save.
|
||||||
checkOnSave | checkOnSave_enable: bool = "true",
|
checkOnSave | checkOnSave_enable: bool = "true",
|
||||||
|
|
||||||
/// Check all targets and tests (`--all-targets`). Overrides `#rust-analyzer.cargo.allTargets#`.
|
/// Check all targets and tests (`--all-targets`). Defaults to
|
||||||
|
/// `#rust-analyzer.cargo.allTargets#`.
|
||||||
check_allTargets | checkOnSave_allTargets: Option<bool> = "null",
|
check_allTargets | checkOnSave_allTargets: Option<bool> = "null",
|
||||||
/// Cargo command to use for `cargo check`.
|
/// Cargo command to use for `cargo check`.
|
||||||
check_command | checkOnSave_command: String = "\"check\"",
|
check_command | checkOnSave_command: String = "\"check\"",
|
||||||
|
@ -22,8 +22,7 @@ How many worker threads to handle priming caches. The default `0` means to pick
|
|||||||
[[rust-analyzer.cargo.allTargets]]rust-analyzer.cargo.allTargets (default: `true`)::
|
[[rust-analyzer.cargo.allTargets]]rust-analyzer.cargo.allTargets (default: `true`)::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
Pass `--all-targets` to cargo invocation. Overridden by `#rust-analyzer.check.allTargets#`
|
Pass `--all-targets` to cargo invocation.
|
||||||
when the latter is set.
|
|
||||||
--
|
--
|
||||||
[[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`)::
|
[[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`)::
|
||||||
+
|
+
|
||||||
@ -173,7 +172,8 @@ Run the check command for diagnostics on save.
|
|||||||
[[rust-analyzer.check.allTargets]]rust-analyzer.check.allTargets (default: `null`)::
|
[[rust-analyzer.check.allTargets]]rust-analyzer.check.allTargets (default: `null`)::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
Check all targets and tests (`--all-targets`). Overrides `#rust-analyzer.cargo.allTargets#`.
|
Check all targets and tests (`--all-targets`). Defaults to
|
||||||
|
`#rust-analyzer.cargo.allTargets#`.
|
||||||
--
|
--
|
||||||
[[rust-analyzer.check.command]]rust-analyzer.check.command (default: `"check"`)::
|
[[rust-analyzer.check.command]]rust-analyzer.check.command (default: `"check"`)::
|
||||||
+
|
+
|
||||||
|
@ -547,7 +547,7 @@
|
|||||||
"maximum": 255
|
"maximum": 255
|
||||||
},
|
},
|
||||||
"rust-analyzer.cargo.allTargets": {
|
"rust-analyzer.cargo.allTargets": {
|
||||||
"markdownDescription": "Pass `--all-targets` to cargo invocation. Overridden by `#rust-analyzer.check.allTargets#`\nwhen the latter is set.",
|
"markdownDescription": "Pass `--all-targets` to cargo invocation.",
|
||||||
"default": true,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
@ -712,7 +712,7 @@
|
|||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"rust-analyzer.check.allTargets": {
|
"rust-analyzer.check.allTargets": {
|
||||||
"markdownDescription": "Check all targets and tests (`--all-targets`). Overrides `#rust-analyzer.cargo.allTargets#`.",
|
"markdownDescription": "Check all targets and tests (`--all-targets`). Defaults to\n`#rust-analyzer.cargo.allTargets#`.",
|
||||||
"default": null,
|
"default": null,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
|
Loading…
Reference in New Issue
Block a user