You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toggles the additional completions that automatically add imports when completed. Note that your client have to specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.
46
+
Toggles the additional completions that automatically add imports when completed. Note that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.
List of warnings that should be displayed with info severity.\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the problems panel.
54
+
List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the `Problems Panel`.
List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.
56
+
List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code and will not show up in the `Problems Panel`.
Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.
89
89
rust-analyzer.linkedProjects (default: `[]`)::
90
-
Disable project auto-discovery in favor of explicitly specified set of projects. \nElements must be paths pointing to Cargo.toml, rust-project.json, or JSON objects in rust-project.json format.
90
+
Disable project auto-discovery in favor of explicitly specified set of projects.\n\nElements must be paths pointing to `Cargo.toml`, `rust-project.json`, or JSON objects in `rust-project.json` format.
91
91
rust-analyzer.lruCapacity (default: `null`)::
92
-
Number of syntax trees rust-analyzer keeps in memory.
92
+
Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.
Copy file name to clipboardExpand all lines: manual.adoc
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ The are several LSP client implementations for vim or neovim:
218
218
* automatically install and upgrade stable/nightly releases
219
219
* same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.cargo.features` etc.
220
220
* same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc.
221
-
* inlay hints for method chaining support, _Neovim Only_
221
+
* inlay hints for variables and method chaining, _Neovim Only_
222
222
* semantic highlighting is not implemented yet
223
223
224
224
==== LanguageClient-neovim
@@ -302,6 +302,9 @@ If the LSP binary is not available, GNOME Builder can install it when opening a
302
302
rust-analyzer is configured via LSP messages, which means that it's up to the editor to decide on the exact format and location of configuration files.
303
303
Please consult your editor's documentation to learn how to configure LSP servers.
304
304
305
+
To verify which configuration is actually used by rust-analyzer, set `RA_LOG` environment variable to `rust_analyzer=info` and look for config-related messages.
306
+
Logs should show both the JSON that rust-analyzer sees as well as the updated config.
307
+
305
308
This is the list of config options rust-analyzer supports:
0 commit comments