diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2024-01-21 16:53:06 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2024-01-21 16:53:06 +0200 |
| commit | 595b4c3c32cb3b2ba10ab4b7a656daddc64e0858 (patch) | |
| tree | e3b92951139521dd315a986fa99cfde7c03e10f6 /src/tools/rust-analyzer/docs | |
| parent | fa404339c9821b9c61661d63326d95e354b9753f (diff) | |
| parent | a9116523604c998e7781f60d3b5a6f586e0414a9 (diff) | |
| download | rust-595b4c3c32cb3b2ba10ab4b7a656daddc64e0858.tar.gz rust-595b4c3c32cb3b2ba10ab4b7a656daddc64e0858.zip | |
Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra
Diffstat (limited to 'src/tools/rust-analyzer/docs')
| -rw-r--r-- | src/tools/rust-analyzer/docs/user/generated_config.adoc | 15 | ||||
| -rw-r--r-- | src/tools/rust-analyzer/docs/user/manual.adoc | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/docs/user/generated_config.adoc b/src/tools/rust-analyzer/docs/user/generated_config.adoc index ecc90abff13..f887bb9df31 100644 --- a/src/tools/rust-analyzer/docs/user/generated_config.adoc +++ b/src/tools/rust-analyzer/docs/user/generated_config.adoc @@ -121,6 +121,16 @@ Unsetting this disables sysroot loading. This option does not take effect until rust-analyzer is restarted. -- +[[rust-analyzer.cargo.sysrootQueryMetadata]]rust-analyzer.cargo.sysrootQueryMetadata (default: `false`):: ++ +-- +Whether to run cargo metadata on the sysroot library allowing rust-analyzer to analyze +third-party dependencies of the standard libraries. + +This will cause `cargo` to create a lockfile in your sysroot directory. rust-analyzer +will attempt to clean up afterwards, but nevertheless requires the location to be +writable to. +-- [[rust-analyzer.cargo.sysrootSrc]]rust-analyzer.cargo.sysrootSrc (default: `null`):: + -- @@ -767,6 +777,11 @@ Internal config, path to proc-macro server executable. -- Exclude imports from find-all-references. -- +[[rust-analyzer.rename.allowExternalItems]]rust-analyzer.rename.allowExternalItems (default: `false`):: ++ +-- +Allow renaming of items not belonging to the loaded workspaces. +-- [[rust-analyzer.runnables.command]]rust-analyzer.runnables.command (default: `null`):: + -- diff --git a/src/tools/rust-analyzer/docs/user/manual.adoc b/src/tools/rust-analyzer/docs/user/manual.adoc index fa8413c19ae..069a62ddbfe 100644 --- a/src/tools/rust-analyzer/docs/user/manual.adoc +++ b/src/tools/rust-analyzer/docs/user/manual.adoc @@ -512,7 +512,8 @@ https://docs.helix-editor.com/[Helix] supports LSP by default. However, it won't install `rust-analyzer` automatically. You can follow instructions for installing <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>. -=== Visual Studio 2022 +[#visual-studio] +=== [[visual-studio-2022]]Visual Studio 2022 There are multiple rust-analyzer extensions for Visual Studio 2022 on Windows: |
