diff options
author | Christian Authmann <[email protected]> | 2020-12-13 14:21:11 +0000 |
---|---|---|
committer | Christian Authmann <[email protected]> | 2020-12-13 14:21:11 +0000 |
commit | 78d43eb1e8d8f1c9b64352facf7afa0a11362e78 (patch) | |
tree | 530c0d9c9729e9f467310bb98989e7d847817f19 /docs/user | |
parent | fbad1b8a2496b703876f9e09072f217cc3cde84b (diff) |
Docs: Explain manual installation in VS Code
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 17 |
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 | ||
96 | NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code. | 96 | NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code. |
97 | 97 | ||
98 | ==== Manual installation | ||
99 | |||
100 | Alternatively, procure both `rust-analyzer.vsix` and your platform's matching `rust-analyzer-{platform}`, for example from the | ||
101 | https://github.com/rust-analyzer/rust-analyzer/releases[releases] page. | ||
102 | |||
103 | Install 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 | |||
109 | Copy 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 | ||
100 | Alternatively, both the server and the Code plugin can be installed from source: | 117 | Alternatively, both the server and the Code plugin can be installed from source: |