diff options
author | Mickael Istria <[email protected]> | 2021-03-18 15:22:54 +0000 |
---|---|---|
committer | Mickael Istria <[email protected]> | 2021-03-18 15:22:54 +0000 |
commit | c0425cbdbd77ed25a05f46c99aff9bd028560dc0 (patch) | |
tree | b319fa9b609d299edd27e1edcc52324eb783298e /docs | |
parent | 3ab9b39dd47d99ffd97f485c27f38b8944e12a3e (diff) |
Update info about Eclipse Corrosion
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/manual.adoc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index f4c37353c..12ab98db7 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -384,11 +384,9 @@ If the LSP binary is not available, GNOME Builder can install it when opening a | |||
384 | 384 | ||
385 | === Eclipse IDE | 385 | === Eclipse IDE |
386 | 386 | ||
387 | Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>. | ||
388 | |||
389 | Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion]. | 387 | Support for Rust development in the Eclipse IDE is provided by link:https://github.com/eclipse/corrosion[Eclipse Corrosion]. |
390 | While it currently uses RLS as default, you can successfully configure it so the IDE will use `rust-analyzer` instead. | 388 | If available in PATH or in some standard location, `rust-analyzer` is detected and powers edition of Rust files without further configuration. |
391 | 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`. | 389 | If `rust-analyzer` is not detected, Corrosion will prompt you for configuration of your Rust toolchain and language server with a link to the __Window > Preferences > Rust__ preference page; from here a button allows to download and configure `rust-analyzer`, but you can also reference another installation. |
392 | You'll need to close and reopen all .rs and Cargo files, or to restart the IDE, for this change to take effect. | 390 | You'll need to close and reopen all .rs and Cargo files, or to restart the IDE, for this change to take effect. |
393 | 391 | ||
394 | == Configuration | 392 | == Configuration |