mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Improve docs for building from source
This commit is contained in:
parent
0baff25d99
commit
3ecdb778c2
1 changed files with 8 additions and 1 deletions
|
@ -97,7 +97,7 @@ NOTE: Nightly extension should **only** be installed via the `Download now` acti
|
|||
|
||||
==== 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]
|
||||
----
|
||||
|
@ -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.
|
||||
|
||||
If you're not using Code, you can compile and install only the LSP server:
|
||||
|
||||
[source]
|
||||
----
|
||||
$ cargo xtask install --server
|
||||
----
|
||||
|
||||
==== Troubleshooting
|
||||
|
||||
Here are some useful self-diagnostic commands:
|
||||
|
|
Loading…
Reference in a new issue