mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Add back corrected cargo install
command
This commit is contained in:
parent
c69ed9bd1f
commit
75be6553fe
1 changed files with 8 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
The main interface to rust-analyzer is the
|
The main interface to rust-analyzer is the
|
||||||
[LSP](https://microsoft.github.io/language-server-protocol/)
|
[LSP](https://microsoft.github.io/language-server-protocol/) implementation. To
|
||||||
implementation. To install lsp server, clone the repository and
|
install lsp server, clone the repository and then run `cargo xtask install
|
||||||
then run `cargo xtask install --server`. This will produce a
|
--server` (which is shorthand for `cargo install --path
|
||||||
binary named `ra_lsp_server` which you should be able to use it
|
./crates/ra_lsp_server`). This will produce a binary named `ra_lsp_server` which
|
||||||
with any LSP-compatible editor. We use custom extensions to LSP,
|
you should be able to use it with any LSP-compatible editor. We use custom
|
||||||
so special client-side support is required to take full advantage
|
extensions to LSP, so special client-side support is required to take full
|
||||||
of rust-analyzer. This repository contains support code for VS
|
advantage of rust-analyzer. This repository contains support code for VS Code
|
||||||
Code and Emacs.
|
and Emacs.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git clone git@github.com:rust-analyzer/rust-analyzer && cd rust-analyzer
|
$ git clone git@github.com:rust-analyzer/rust-analyzer && cd rust-analyzer
|
||||||
|
|
Loading…
Reference in a new issue