aboutsummaryrefslogtreecommitdiff
path: root/ARCHITECTURE.md
diff options
context:
space:
mode:
Diffstat (limited to 'ARCHITECTURE.md')
-rw-r--r--ARCHITECTURE.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index cb8f01f78..8602de56d 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -178,7 +178,7 @@ VS Code plugin
178 178
179To try out VS Code extensions, run `cargo install-code`. This installs both the 179To try out VS Code extensions, run `cargo install-code`. This installs both the
180`ra_lsp_server` binary and the VS Code extension. To install only the binary, use 180`ra_lsp_server` binary and the VS Code extension. To install only the binary, use
181`cargo install --path crates/ra_lsp_server --force` 181`cargo install-lsp` (shorthand for `cargo install --path crates/ra_lsp_server --force`)
182 182
183To see logs from the language server, set `RUST_LOG=info` env variable. To see 183To see logs from the language server, set `RUST_LOG=info` env variable. To see
184all communication between the server and the client, use 184all communication between the server and the client, use
@@ -186,12 +186,12 @@ all communication between the server and the client, use
186 186
187There's `rust-analyzer: status` command which prints common high-level debug 187There's `rust-analyzer: status` command which prints common high-level debug
188info. In particular, it prints info about memory usage of various data 188info. In particular, it prints info about memory usage of various data
189structures, and, if compiled with jemalloc support (`cargo install --features 189structures, and, if compiled with jemalloc support (`cargo jinstall-lsp` or
190jemalloc`), the summary statistic about the heap. 190`cargo install --path crates/ra_lsp_server --force --features jemalloc`), includes
191 statistic about the heap.
191 192
192To run tests, just `cargo test`. 193To run tests, just `cargo test`.
193 194
194To work on the VS Code extension, launch code inside `editors/code` and use `F5` to 195To work on the VS Code extension, launch code inside `editors/code` and use `F5` to
195launch/debug. To automatically apply formatter and linter suggestions, use `npm 196launch/debug. To automatically apply formatter and linter suggestions, use `npm
196run fix`. 197run fix`.
197