Skip to content

Commit dbd0cfb

Browse files
bors[bot]cauthmann
andauthored
Merge #6858
6858: Docs: Explain manual installation in VS Code r=lnicola a=cauthmann same as rust-analyzer/rust-analyzer.github.io#81 , just against the correct repository this time Co-authored-by: Christian Authmann <[email protected]>
2 parents 917d562 + 78d43eb commit dbd0cfb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/user/manual.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,23 @@ If you don't want to be asked for `Download now` every day when the new nightly
9595

9696
NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code.
9797

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+
98115
==== Building From Source
99116

100117
Alternatively, both the server and the Code plugin can be installed from source:

0 commit comments

Comments
 (0)