mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 00:47:18 +00:00
docs: Fix typo in VS Code setting description
This commit is contained in:
parent
1bf1f6e0a1
commit
b1266405ef
3 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ config_data! {
|
||||||
/// If `$saved_file` is part of the command, rust-analyzer will pass
|
/// If `$saved_file` is part of the command, rust-analyzer will pass
|
||||||
/// the absolute path of the saved file to the provided command. This is
|
/// the absolute path of the saved file to the provided command. This is
|
||||||
/// intended to be used with non-Cargo build systems.
|
/// intended to be used with non-Cargo build systems.
|
||||||
/// Note that `$saved_file` is experimental and may be removed in the futureg.
|
/// Note that `$saved_file` is experimental and may be removed in the future.
|
||||||
///
|
///
|
||||||
/// An example command would be:
|
/// An example command would be:
|
||||||
///
|
///
|
||||||
|
|
|
@ -256,7 +256,7 @@ by changing `#rust-analyzer.check.invocationStrategy#` and
|
||||||
If `$saved_file` is part of the command, rust-analyzer will pass
|
If `$saved_file` is part of the command, rust-analyzer will pass
|
||||||
the absolute path of the saved file to the provided command. This is
|
the absolute path of the saved file to the provided command. This is
|
||||||
intended to be used with non-Cargo build systems.
|
intended to be used with non-Cargo build systems.
|
||||||
Note that `$saved_file` is experimental and may be removed in the futureg.
|
Note that `$saved_file` is experimental and may be removed in the future.
|
||||||
|
|
||||||
An example command would be:
|
An example command would be:
|
||||||
|
|
||||||
|
|
|
@ -798,7 +798,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"rust-analyzer.check.overrideCommand": {
|
"rust-analyzer.check.overrideCommand": {
|
||||||
"markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.check.invocationStrategy#` and\n`#rust-analyzer.check.invocationLocation#`.\n\nIf `$saved_file` is part of the command, rust-analyzer will pass\nthe absolute path of the saved file to the provided command. This is\nintended to be used with non-Cargo build systems.\nNote that `$saved_file` is experimental and may be removed in the futureg.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
|
"markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.check.invocationStrategy#` and\n`#rust-analyzer.check.invocationLocation#`.\n\nIf `$saved_file` is part of the command, rust-analyzer will pass\nthe absolute path of the saved file to the provided command. This is\nintended to be used with non-Cargo build systems.\nNote that `$saved_file` is experimental and may be removed in the future.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
|
||||||
"default": null,
|
"default": null,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
|
|
Loading…
Reference in a new issue