diff options
-rw-r--r-- | docs/user/manual.adoc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index a1018b0cb..020e4c937 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -377,6 +377,16 @@ If you get an error saying `No such file or directory: 'rust-analyzer'`, see the | |||
377 | GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. | 377 | GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. |
378 | If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. | 378 | If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. |
379 | 379 | ||
380 | |||
381 | === Eclipse IDE | ||
382 | |||
383 | Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>. | ||
384 | |||
385 | Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion]. | ||
386 | While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead. | ||
387 | To do so, with an Eclipse IDE where Corrosion is installed, just go to __Window > Preferences > Rust__ and edit the __Path to Rust Language Server__ entry to reference the path to `rust-analyzer`. | ||
388 | You'll need to close and reopen all .rs and Cargo files, or to restart the IDE, for this change to take effect. | ||
389 | |||
380 | == Configuration | 390 | == Configuration |
381 | 391 | ||
382 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] | 392 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] |