mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Improve docs for building from source
This commit is contained in:
parent
0baff25d99
commit
3ecdb778c2
@ -97,7 +97,7 @@ NOTE: Nightly extension should **only** be installed via the `Download now` acti
|
|||||||
|
|
||||||
==== Building From Source
|
==== Building From Source
|
||||||
|
|
||||||
Alternatively, both the server and the plugin can be installed from source:
|
Alternatively, both the server and the Code plugin can be installed from source:
|
||||||
|
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
@ -109,6 +109,13 @@ You'll need Cargo, nodejs and npm for this.
|
|||||||
|
|
||||||
Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually.
|
Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually.
|
||||||
|
|
||||||
|
If you're not using Code, you can compile and install only the LSP server:
|
||||||
|
|
||||||
|
[source]
|
||||||
|
----
|
||||||
|
$ cargo xtask install --server
|
||||||
|
----
|
||||||
|
|
||||||
==== Troubleshooting
|
==== Troubleshooting
|
||||||
|
|
||||||
Here are some useful self-diagnostic commands:
|
Here are some useful self-diagnostic commands:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user