mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Merge #7592
7592: [Doc] Note about Eclipse IDE support r=lnicola a=mickaelistria Co-authored-by: Mickael Istria <mistria@redhat.com>
This commit is contained in:
commit
433ad23988
1 changed files with 10 additions and 0 deletions
|
@ -377,6 +377,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 <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
|
||||
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue