]> git.lizzy.rs Git - rust.git/blob - editors/code/README.md
Update README.md
[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
16 If you want to sponsor:
17
18 - [OpenCollective](https://opencollective.com/rust-analyzer/)
19 - [Github Sponsors](https://github.com/sponsors/rust-analyzer)
20
21 ## Features
22
23 - [code completion], [imports insertion]
24 - [go to definition], [implementation], [type definition]
25 - [find all references], [workspace symbol search], [rename]
26 - [types and documentation on hover]
27 - [inlay hints]
28 - [semantic syntax highlighting]
29 - a lot of [assist(code actions)]
30 - apply suggestions from errors
31 - ... and many more, checkout the [manual] to see them all
32
33 [code completion]: https://rust-analyzer.github.io/manual.html#magic-completions
34 [imports insertion]: https://rust-analyzer.github.io/manual.html#auto-import
35 [go to definition]: https://rust-analyzer.github.io/manual.html#go-to-definition
36 [implementation]: https://rust-analyzer.github.io/manual.html#go-to-implementation
37 [type definition]: https://rust-analyzer.github.io/manual.html#go-to-type-definition
38 [find all references]: https://rust-analyzer.github.io/manual.html#find-all-references
39 [workspace symbol search]: https://rust-analyzer.github.io/manual.html#workspace-symbol
40 [rename]: https://rust-analyzer.github.io/manual.html#rename
41 [types and documentation on hover]: https://rust-analyzer.github.io/manual.html#hover
42 [inlay hints]: https://rust-analyzer.github.io/manual.html#inlay-hints
43 [semantic syntax highlighting]: https://rust-analyzer.github.io/manual.html#semantic-syntax-highlighting
44 [assist(code actions)]: https://rust-analyzer.github.io/manual.html#assists-code-actions
45
46 [manual]: https://rust-analyzer.github.io/manual.html
47
48 ## Quick start
49
50 1. Install [rustup]
51 2. Install the [rust-analyzer extension]
52
53 [rustup]: https://rustup.rs
54 [rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
55
56 ## Configuration
57
58 This extension provides configurations through VSCode's configuration settings. All the configurations are under `rust-analyzer.*`.
59
60 See <https://rust-analyzer.github.io/manual.html#vs-code-2> for more information on VSCode specific configurations.
61
62 ## Communication
63
64 For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:
65
66 <https://users.rust-lang.org/c/ide/14>
67
68 ## Documentation
69
70 See <https://rust-analyzer.github.io/> for more information.