diff options
| author | Joel Daniel Rico <joeldanielrico@gmail.com> | 2024-06-17 02:48:37 -0700 |
|---|---|---|
| committer | Joel Daniel Rico <joeldanielrico@gmail.com> | 2024-06-17 04:08:32 -0700 |
| commit | 5934eeda558d233a4e67e1ad16475a563f9a3d6e (patch) | |
| tree | 46705ddc40073d386b481d3d5c0335c86a8ab5df /src/tools/rust-analyzer/docs/dev | |
| parent | e0c1b2bf75c742af8a6637e25e9b5148de8c444a (diff) | |
| download | rust-5934eeda558d233a4e67e1ad16475a563f9a3d6e.tar.gz rust-5934eeda558d233a4e67e1ad16475a563f9a3d6e.zip | |
feat: add `toggleLSPLogs` command
add `toggleLSPLogs` command update docs to reflect new command
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev')
| -rw-r--r-- | src/tools/rust-analyzer/docs/dev/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/README.md b/src/tools/rust-analyzer/docs/dev/README.md index 8897f02e277..002b8ba2a66 100644 --- a/src/tools/rust-analyzer/docs/dev/README.md +++ b/src/tools/rust-analyzer/docs/dev/README.md @@ -145,7 +145,7 @@ To log all communication between the server and the client, there are two choice ``` env RA_LOG=lsp_server=debug code . ``` -* You can log on the client side, by enabling `"rust-analyzer.trace.server": "verbose"` workspace setting. +* You can log on the client side, by the `rust-analyzer: Toggle LSP Logs` command or enabling `"rust-analyzer.trace.server": "verbose"` workspace setting. These logs are shown in a separate tab in the output and could be used with LSP inspector. Kudos to [@DJMcNab](https://github.com/DJMcNab) for setting this awesome infra up! |
