You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LSP](https://microsoft.github.io/language-server-protocol/) implementation. To
3
-
install lsp server, clone the repository and then run `cargo xtask install
4
-
--server` (which is shorthand for `cargo install --path
5
-
./crates/ra_lsp_server`). This will produce a binary named `ra_lsp_server` which
6
-
you should be able to use it with any LSP-compatible editor. We use custom
7
-
extensions to LSP, so special client-side support is required to take full
8
-
advantage of rust-analyzer. This repository contains support code for VS Code.
9
-
10
-
```
5
+
install lsp server, you have three options:
6
+
7
+
***Preferred and default:** install the plugin/extension for your IDE and it will ask your permission to automatically download the latest lsp server for you from [GitHub releases][github-releases]. (See docs to find out whether this is implemented for your editor below).
8
+
* Manually download prebuilt binaries from [GitHub releases][github-releases]
Then open VSCode (or reload the window if it was already running), open some Rust project and you should
47
-
see an info message pop-up.
48
58
59
+
Or open VS Code, press <kbd>Ctrl+Shift+P</kbd>, and search for the following command:
60
+
61
+
<imgwidth="500px"alt="Install from VSIX command"src="https://user-images.githubusercontent.com/36276403/74108225-c0c11d80-4b80-11ea-9b2a-0a43f09e29af.png">
62
+
63
+
Press <kbd>Enter</kbd> and go to `rust-analyzer-0.1.0.vsix` file through the file explorer.
64
+
65
+
Then open some Rust project and you should
66
+
see an info message pop-up.
49
67
50
68
<imgheight="140px"src="https://user-images.githubusercontent.com/36276403/74103174-a40df100-4b52-11ea-81f4-372c70797924.png"alt="Download now message"/>
0 commit comments