diff options
author | Aleksey Kladov <[email protected]> | 2020-12-23 07:47:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-23 07:47:05 +0000 |
commit | 7c07bb63814671f88677c08ddd75862338e40330 (patch) | |
tree | 65c66a9bec9b74049ca588ffb3d4a47337486280 /docs/user | |
parent | f7f85cdd8d0660e3556c15864efd6158f114e343 (diff) |
Document, how to view config in effect
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 40f10972f..e3082d584 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -302,6 +302,9 @@ If the LSP binary is not available, GNOME Builder can install it when opening a | |||
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. | 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 | Please consult your editor's documentation to learn how to configure LSP servers. | 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 | This is the list of config options rust-analyzer supports: | 308 | This is the list of config options rust-analyzer supports: |
306 | 309 | ||
307 | include::./generated_config.adoc[] | 310 | include::./generated_config.adoc[] |