aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorMickael Istria <[email protected]>2021-02-07 20:37:22 +0000
committerMickael Istria <[email protected]>2021-02-08 08:52:46 +0000
commit7e0854ec5725688084138de2c91988a860c2bdb0 (patch)
tree2b3a535d01a2676be779df690e06cc533c78425a /docs/user
parent336909b63a14b801520c6627d90d750babcfe280 (diff)
[Doc] Note about Eclipse IDE support
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/manual.adoc10
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
331GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. 331GNOME Builder 3.37.1 and newer has native `rust-analyzer` support.
332If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. 332If the LSP binary is not available, GNOME Builder can install it when opening a Rust file.
333 333
334
335=== Eclipse IDE
336
337Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
338
339Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion].
340While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead.
341To 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`.
342You'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]