From 7e0854ec5725688084138de2c91988a860c2bdb0 Mon Sep 17 00:00:00 2001 From: Mickael Istria Date: Sun, 7 Feb 2021 21:37:22 +0100 Subject: [Doc] Note about Eclipse IDE support --- docs/user/manual.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/user') 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 GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. + +=== Eclipse IDE + +Prerequisites: You have installed the <>. + +Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion]. +While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead. +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`. +You'll need to close and reopen all .rs and Cargo files, or to restart the IDE, for this change to take effect. + == Configuration **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] -- cgit v1.2.3