aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/user/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index 18867cd11..abf7c013b 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -32,6 +32,37 @@ a minimum version of 10 installed. Please refer to
32You will also need the most recent version of VS Code: we don't try to 32You will also need the most recent version of VS Code: we don't try to
33maintain compatibility with older versions yet. 33maintain compatibility with older versions yet.
34 34
35### Installation from prebuilt binaries
36
37We ship prebuilt binaries for Linux, Mac and Windows via
38[GitHub releases](https://github.com/rust-analyzer/rust-analyzer/releases).
39In order to use them you need to install the client VSCode extension.
40
41Publishing to VSCode marketplace is currently WIP. Thus you need to clone the repository and install **only** the client extension via
42```
43$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1
44$ cd rust-analyzer
45$ cargo xtask install --client-code
46```
47Then open VSCode (or reload the window if it was already running), open some Rust project and you should
48see an info message pop-up.
49
50
51<img height="140px" src="https://user-images.githubusercontent.com/36276403/74103174-a40df100-4b52-11ea-81f4-372c70797924.png" alt="Download now message"/>
52
53
54Click `Download now`, wait untill the progress is 100% and you are ready to go.
55
56For updates you need to remove installed binary
57```
58rm -rf ${HOME}/.config/Code/User/globalStorage/matklad.rust-analyzer
59```
60
61`"Donwload latest language server"` command for VSCode and automatic updates detection is currently WIP.
62
63
64### Installation from sources
65
35The experimental VS Code plugin can then be built and installed by executing the 66The experimental VS Code plugin can then be built and installed by executing the
36following commands: 67following commands:
37 68
@@ -47,6 +78,7 @@ doesn't, report bugs!
47**Note** [#1831](https://github.com/rust-analyzer/rust-analyzer/issues/1831): If you are using the popular 78**Note** [#1831](https://github.com/rust-analyzer/rust-analyzer/issues/1831): If you are using the popular
48[Vim emulation plugin](https://github.com/VSCodeVim/Vim), you will likely 79[Vim emulation plugin](https://github.com/VSCodeVim/Vim), you will likely
49need to turn off the `rust-analyzer.enableEnhancedTyping` setting. 80need to turn off the `rust-analyzer.enableEnhancedTyping` setting.
81(// TODO: This configuration is no longer available, enhanced typing shoud be disabled via removing Enter key binding, [see this issue](https://github.com/rust-analyzer/rust-analyzer/issues/3051))
50 82
51If you have an unusual setup (for example, `code` is not in the `PATH`), you 83If you have an unusual setup (for example, `code` is not in the `PATH`), you
52should adapt these manual installation instructions: 84should adapt these manual installation instructions: