diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-08 09:16:01 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-08 09:16:01 +0000 |
commit | 433ad23988df2445b6bbe5f393e0c3a701f73f13 (patch) | |
tree | 17a8769e83526737781925becb497048cad2d35c /docs | |
parent | a996b381bc22fb726daa0126e325bd6651183ea3 (diff) | |
parent | 7e0854ec5725688084138de2c91988a860c2bdb0 (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.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] |