From 78d43eb1e8d8f1c9b64352facf7afa0a11362e78 Mon Sep 17 00:00:00 2001 From: Christian Authmann <8371862+cauthmann@users.noreply.github.com> Date: Sun, 13 Dec 2020 15:21:11 +0100 Subject: Docs: Explain manual installation in VS Code --- docs/user/manual.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs/user/manual.adoc') 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 NOTE: Nightly extension should **only** be installed via the `Download now` action from VS Code. +==== Manual installation + +Alternatively, procure both `rust-analyzer.vsix` and your platform's matching `rust-analyzer-{platform}`, for example from the +https://github.com/rust-analyzer/rust-analyzer/releases[releases] page. + +Install the extension with the `Extensions: Install from VSIX` command within VS Code, or from the command line via: +[source] +---- +$ code --install-extension /path/to/rust-analyzer.vsix +---- + +Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example: +[source,json] +---- +{ "rust-analyzer.serverPath": "~/.local/bin/rust-analyzer-linux" } +---- + ==== Building From Source Alternatively, both the server and the Code plugin can be installed from source: -- cgit v1.2.3