aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-08 09:16:01 +0000
committerGitHub <[email protected]>2021-02-08 09:16:01 +0000
commit433ad23988df2445b6bbe5f393e0c3a701f73f13 (patch)
tree17a8769e83526737781925becb497048cad2d35c /docs
parenta996b381bc22fb726daa0126e325bd6651183ea3 (diff)
parent7e0854ec5725688084138de2c91988a860c2bdb0 (diff)
Merge #7592
7592: [Doc] Note about Eclipse IDE support r=lnicola a=mickaelistria Co-authored-by: Mickael Istria <[email protected]>
Diffstat (limited to 'docs')
-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 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
377GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. 377GNOME Builder 3.37.1 and newer has native `rust-analyzer` support.
378If the LSP binary is not available, GNOME Builder can install it when opening a Rust file. 378If the LSP binary is not available, GNOME Builder can install it when opening a Rust file.
379 379
380
381=== Eclipse IDE
382
383Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
384
385Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion].
386While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead.
387To 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`.
388You'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]