From 3618c4e0d3127e6d6eab1b55fd88c353b8d3f6d7 Mon Sep 17 00:00:00 2001 From: vsrs Date: Sat, 23 Jan 2021 16:56:20 +0300 Subject: Add References code lens. For Struct, Enum, Union and Trait symbols. --- docs/user/generated_config.adoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index a76c99d1e..2f681b01a 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -86,6 +86,8 @@ Whether to show `Run` lens. Only applies when `#rust-analyzer.lens.enable#` is set. [[rust-analyzer.lens.methodReferences]]rust-analyzer.lens.methodReferences (default: `false`):: Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set. +[[rust-analyzer.lens.references]]rust-analyzer.lens.references (default: `false`):: + Whether to show `References` lens. Only applies when `#rust-analyzer.lens.enable#` is set. [[rust-analyzer.linkedProjects]]rust-analyzer.linkedProjects (default: `[]`):: 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. [[rust-analyzer.lruCapacity]]rust-analyzer.lruCapacity (default: `null`):: -- cgit v1.2.3 From 83fd63982999a043fca13259afea1e7f7793bf80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 25 Jan 2021 13:14:31 +0200 Subject: Fix RA_LOG example in dev docs --- docs/dev/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/dev/README.md b/docs/dev/README.md index 24197b332..6a6ba1443 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md @@ -212,7 +212,7 @@ To log all communication between the server and the client, there are two choice * you can log on the server side, by running something like ``` - env RA_LOG=gen_lsp_server=trace code . + env RA_LOG=lsp_server=debug code . ``` * you can log on the client side, by enabling `"rust-analyzer.trace.server": -- cgit v1.2.3