From 7c07bb63814671f88677c08ddd75862338e40330 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 23 Dec 2020 10:47:05 +0300 Subject: Document, how to view config in effect --- docs/user/manual.adoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/user/manual.adoc') 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 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. Please consult your editor's documentation to learn how to configure LSP servers. +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. +Logs should show both the JSON that rust-analyzer sees as well as the updated config. + This is the list of config options rust-analyzer supports: include::./generated_config.adoc[] -- cgit v1.2.3