mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
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 <8371862+cauthmann@users.noreply.github.com>
This commit is contained in:
commit
dbd0cfba53
1 changed files with 17 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue