mirror of
https://github.com/rust-lang/book.git
synced 2026-12-04 10:04:57 -06:00
Further edits in rust-analyzer text
This commit is contained in:
@@ -160,20 +160,23 @@ For more information on Clippy, see [its documentation][clippy].
|
||||
|
||||
### IDE Integration Using `rust-analyzer`
|
||||
|
||||
To help IDE integration, the Rust community promotes the *Rust analyzer*. This tool is a set of compiler-centric utilities, and speaks the [Language Server
|
||||
Protocol][lsp], which is a specification for IDEs and programming
|
||||
languages to communicate with each other. Different clients can use `rust-analyzer`, such as [the Rust analyzer plug-in for Visual Studio Code][vscode].
|
||||
To help IDE integration, the Rust community recommends using
|
||||
[`rust-analyzer`][rust-analyzer]. This tool is a set of compiler-centric
|
||||
utilities that speaks the [Language Server Protocol][lsp], which is a
|
||||
specification for IDEs and programming languages to communicate with each
|
||||
other. Different clients can use `rust-analyzer`, such as [the Rust analyzer
|
||||
plug-in for Visual Studio Code][vscode].
|
||||
|
||||
[lsp]: http://langserver.org/
|
||||
[vscode]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
|
||||
|
||||
`rust-analyzer` is superseding the first version of a Rust language server: `rls`.
|
||||
Contrary to `rls`, `rust-analyzer` is not yet available with rustup: visit the project [home page][rust-analyzer] for installation instructions.
|
||||
Visit the `rust-analyzer` project’s [home page][rust-analyzer] for installation
|
||||
instructions, then install the language server support in your particular IDE.
|
||||
Your IDE will gain abilities such as autocompletion, jump to definition, and
|
||||
inline errors.
|
||||
|
||||
Then install the language server support in your particular IDE; you’ll gain
|
||||
abilities such as autocompletion, jump to definition, and inline errors.
|
||||
|
||||
For more information on `rust-analyzer`, see [its documentation][rust-analyzer-manual].
|
||||
For more information on `rust-analyzer`, see [its
|
||||
documentation][rust-analyzer-manual].
|
||||
|
||||
[rust-analyzer]: https://rust-analyzer.github.io
|
||||
[rust-analyzer-manual]: https://rust-analyzer.github.io/manual.html
|
||||
|
||||
Reference in New Issue
Block a user