3 Provides support for rust-analyzer: novel LSP server for the Rust programming language.
5 **Note** the extension may cause conflicts with the official Rust extension. It is recommended to disable the Rust extension when using the rust-analyzer extension.
9 Work on rust-analyzer is sponsored by
11 [<img src="https://user-images.githubusercontent.com/1711539/58105231-cf306900-7bee-11e9-83d8-9f1102e59d29.png" alt="Ferrous Systems" width="300">](https://ferrous-systems.com/)
13 - [Mozilla](https://www.mozilla.org/en-US/)
14 - [Embark Studios](https://embark-studios.com/)
15 - [freiheit.com](https://www.freiheit.com)
17 If you want to sponsor:
19 - [OpenCollective](https://opencollective.com/rust-analyzer/)
20 - [Github Sponsors](https://github.com/sponsors/rust-analyzer)
24 - [code completion], [imports insertion]
25 - [go to definition], [implementation], [type definition]
26 - [find all references], [workspace symbol search], [rename]
27 - [types and documentation on hover]
29 - [semantic syntax highlighting]
30 - a lot of [assist(code actions)]
31 - apply suggestions from errors
32 - ... and many more, checkout the [manual] to see them all
34 [code completion]: https://rust-analyzer.github.io/manual.html#magic-completions
35 [imports insertion]: https://rust-analyzer.github.io/manual.html#auto-import
36 [go to definition]: https://rust-analyzer.github.io/manual.html#go-to-definition
37 [implementation]: https://rust-analyzer.github.io/manual.html#go-to-implementation
38 [type definition]: https://rust-analyzer.github.io/manual.html#go-to-type-definition
39 [find all references]: https://rust-analyzer.github.io/manual.html#find-all-references
40 [workspace symbol search]: https://rust-analyzer.github.io/manual.html#workspace-symbol
41 [rename]: https://rust-analyzer.github.io/manual.html#rename
42 [types and documentation on hover]: https://rust-analyzer.github.io/manual.html#hover
43 [inlay hints]: https://rust-analyzer.github.io/manual.html#inlay-hints
44 [semantic syntax highlighting]: https://rust-analyzer.github.io/manual.html#semantic-syntax-highlighting
45 [assist(code actions)]: https://rust-analyzer.github.io/manual.html#assists-code-actions
47 [manual]: https://rust-analyzer.github.io/manual.html
52 2. Install the [rust-analyzer extension]
54 [rustup]: https://rustup.rs
55 [rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
59 This extension provides configurations through VSCode's configuration settings. All the configurations are under `rust-analyzer.*`.
61 See <https://rust-analyzer.github.io/manual.html#vs-code-2> for more information on VSCode specific configurations.
65 For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:
67 <https://users.rust-lang.org/c/ide/14>
71 See <https://rust-analyzer.github.io/> for more information.