aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-13 14:41:10 +0000
committerGitHub <[email protected]>2020-12-13 14:41:10 +0000
commitdbd0cfba531c21de01af7b1a12ce9eb6b1271a5d (patch)
tree8d24383d365f29abe006e0bac27db43215f1f006 /docs/user
parent917d56273db8b117896c31a0766de6d8c0b5827b (diff)
parent78d43eb1e8d8f1c9b64352facf7afa0a11362e78 (diff)
Merge #6858
6858: Docs: Explain manual installation in VS Code r=lnicola a=cauthmann same as https://github.com/rust-analyzer/rust-analyzer.github.io/pull/81 , just against the correct repository this time Co-authored-by: Christian Authmann <[email protected]>
Diffstat (limited to 'docs/user')
-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: