aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Authmann <[email protected]>2020-12-13 14:21:11 +0000
committerChristian Authmann <[email protected]>2020-12-13 14:21:11 +0000
commit78d43eb1e8d8f1c9b64352facf7afa0a11362e78 (patch)
tree530c0d9c9729e9f467310bb98989e7d847817f19
parentfbad1b8a2496b703876f9e09072f217cc3cde84b (diff)
Docs: Explain manual installation in VS Code
-rw-r--r--docs/user/manual.adoc17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 9d4f52a93..42317b231 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -95,6 +95,23 @@ If you don't want to be asked for `Download now` every day when the new nightly
95 95
96NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code. 96NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code.
97 97
98==== Manual installation
99
100Alternatively, procure both `rust-analyzer.vsix` and your platform's matching `rust-analyzer-{platform}`, for example from the
101https://github.com/rust-analyzer/rust-analyzer/releases[releases] page.
102
103Install the extension with the `Extensions: Install from VSIX` command within VS Code, or from the command line via:
104[source]
105----
106$ code --install-extension /path/to/rust-analyzer.vsix
107----
108
109Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example:
110[source,json]
111----
112{ "rust-analyzer.serverPath": "~/.local/bin/rust-analyzer-linux" }
113----
114
98==== Building From Source 115==== Building From Source
99 116
100Alternatively, both the server and the Code plugin can be installed from source: 117Alternatively, both the server and the Code plugin can be installed from source: