diff options
Diffstat (limited to 'docs')
-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 10d4fd606..cb698a3a2 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -331,6 +331,16 @@ If you get an error saying `No such file or directory: 'rust-analyzer'`, see the | |||
331 | GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. | 331 | GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. |
332 | If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. | 332 | If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. |
333 | 333 | ||
334 | |||
335 | === Eclipse IDE | ||
336 | |||
337 | Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>. | ||
338 | |||
339 | Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion]. | ||
340 | While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead. | ||
341 | 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`. | ||
342 | You'll need to close and reopen all .rs and Cargo files, or to restart the IDE, for this change to take effect. | ||
343 | |||
334 | == Configuration | 344 | == Configuration |
335 | 345 | ||
336 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] | 346 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] |