]> git.lizzy.rs Git - rust.git/blob - editors/code/README.md
Merge #11061
[rust.git] / editors / code / README.md
1 # rust-analyzer
2
3 Provides support for rust-analyzer: novel LSP server for the Rust programming language.
4
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.
6
7 ## Sponsor
8
9 Work on rust-analyzer is sponsored by
10
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/)
12
13 - [Mozilla](https://www.mozilla.org/en-US/)
14 - [Embark Studios](https://embark-studios.com/)
15 - [freiheit.com](https://www.freiheit.com)
16
17 If you want to sponsor:
18
19 - [OpenCollective](https://opencollective.com/rust-analyzer/)
20 - [Github Sponsors](https://github.com/sponsors/rust-analyzer)
21
22 ## Features
23
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]
28 - [inlay hints]
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
33
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
46
47 [manual]: https://rust-analyzer.github.io/manual.html
48
49 ## Quick start
50
51 1. Install [rustup]
52 2. Install the [rust-analyzer extension]
53
54 [rustup]: https://rustup.rs
55 [rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
56
57 ## Configuration
58
59 This extension provides configurations through VSCode's configuration settings. All the configurations are under `rust-analyzer.*`.
60
61 See <https://rust-analyzer.github.io/manual.html#vs-code-2> for more information on VSCode specific configurations.
62
63 ## Communication
64
65 For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:
66
67 <https://users.rust-lang.org/c/ide/14>
68
69 ## Documentation
70
71 See <https://rust-analyzer.github.io/> for more information.