aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/README.md62
-rw-r--r--editors/code/package.json6
2 files changed, 54 insertions, 14 deletions
diff --git a/editors/code/README.md b/editors/code/README.md
index e7d7a06f0..241489226 100644
--- a/editors/code/README.md
+++ b/editors/code/README.md
@@ -2,18 +2,36 @@
2 2
3Provides support for rust-analyzer: novel LSP server for the Rust programming language. 3Provides support for rust-analyzer: novel LSP server for the Rust programming language.
4 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.
5 6
6Features: 7**Note** the project is in alpha status: it is already useful in practice, but can't be considered stable.
7 8
8* [code completion], [imports insertion] 9## Sponsor
9* [go to definition], [implementation], [type definition] 10
10* [find all references], [workspace symbol search], [rename] 11Work on rust-analyzer is sponsored by
11* [types and documentation on hover] 12
12* [inlay hints] 13[<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* [semantic syntax highlighting] 14
14* a lot of [assist(code actions)] 15- [Mozilla](https://www.mozilla.org/en-US/)
15* apply suggestions from errors 16- [Embark Studios](https://embark-studios.com/)
16* ... and many more, checkout the [manual] to see them all 17- [freiheit.com](https://www.freiheit.com)
18
19If you want to sponsor:
20
21- [OpenCollective](https://opencollective.com/rust-analyzer/)
22- [Github Sponsors](https://github.com/sponsors/rust-analyzer)
23
24## Features
25
26- [code completion], [imports insertion]
27- [go to definition], [implementation], [type definition]
28- [find all references], [workspace symbol search], [rename]
29- [types and documentation on hover]
30- [inlay hints]
31- [semantic syntax highlighting]
32- a lot of [assist(code actions)]
33- apply suggestions from errors
34- ... and many more, checkout the [manual] to see them all
17 35
18[code completion]: https://rust-analyzer.github.io/manual.html#magic-completions 36[code completion]: https://rust-analyzer.github.io/manual.html#magic-completions
19[imports insertion]: https://rust-analyzer.github.io/manual.html#auto-import 37[imports insertion]: https://rust-analyzer.github.io/manual.html#auto-import
@@ -30,4 +48,26 @@ Features:
30 48
31[manual]: https://rust-analyzer.github.io/manual.html 49[manual]: https://rust-analyzer.github.io/manual.html
32 50
33See https://rust-analyzer.github.io/ for more information. 51## Quick start
52
531. Install [rustup]
542. Install the [rust-analyzer extension]
55
56[rustup]: https://rustup.rs
57[rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
58
59## Configuration
60
61This extension provides configurations through VSCode's configuration settings. All the configurations are under `rust-analyzer.*`.
62
63See <https://rust-analyzer.github.io/manual.html#vs-code-2> for more information on VSCode specific configurations.
64
65## Communication
66
67For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum:
68
69<https://users.rust-lang.org/c/ide/14>
70
71## Documentation
72
73See <https://rust-analyzer.github.io/> for more information.
diff --git a/editors/code/package.json b/editors/code/package.json
index e3e0ebff0..1987364bc 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -408,8 +408,8 @@
408 "type": "string" 408 "type": "string"
409 } 409 }
410 }, 410 },
411 "rust-analyzer.cargo.loadOutDirsFromCheck": { 411 "rust-analyzer.cargo.runBuildScripts": {
412 "markdownDescription": "Run `cargo check` on startup to get the correct value for package OUT_DIRs.", 412 "markdownDescription": "Run build scripts (`build.rs`) for more precise code analysis.",
413 "default": false, 413 "default": false,
414 "type": "boolean" 414 "type": "boolean"
415 }, 415 },
@@ -678,7 +678,7 @@
678 "type": "boolean" 678 "type": "boolean"
679 }, 679 },
680 "rust-analyzer.procMacro.enable": { 680 "rust-analyzer.procMacro.enable": {
681 "markdownDescription": "Enable Proc macro support, `#rust-analyzer.cargo.loadOutDirsFromCheck#` must be enabled.", 681 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
682 "default": false, 682 "default": false,
683 "type": "boolean" 683 "type": "boolean"
684 }, 684 },