3478: Link proper docs from readme r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-03-05 16:27:23 +00:00 committed by GitHub
commit c3a349bfe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,33 +14,9 @@ Work on rust-analyzer is sponsored by
- [Mozilla](https://www.mozilla.org/en-US/)
- [freiheit.com](https://www.freiheit.com)
## Language Server Quick Start
## Quick Start
rust-analyzer is a work-in-progress, so you might encounter critical bugs. That
said, it is complete enough to provide a useful IDE experience and some people
use it as a daily driver.
To build rust-analyzer, you need:
* latest stable Rust for the language server itself
* latest stable npm and VS Code for VS Code extension
To quickly install the rust-analyzer language server and VS Code extension with
standard setup (`code` and `cargo` in `$PATH`, etc), use this:
```
# clone the repo
$ git clone https://github.com/rust-analyzer/rust-analyzer && cd rust-analyzer
# install both the language server and VS Code extension
$ cargo xtask install
# alternatively, install only the server. Binary name is `rust-analyzer`.
$ cargo xtask install --server
```
For non-standard setup of VS Code and other editors, or if the language server
cannot start, see [./docs/user](./docs/user).
https://rust-analyzer.github.io/manual.html#installation
## Documentation
@ -48,7 +24,7 @@ If you want to **contribute** to rust-analyzer or are just curious about how
things work under the hood, check the [./docs/dev](./docs/dev) folder.
If you want to **use** rust-analyzer's language server with your editor of
choice, check [./docs/user](./docs/user) folder. It also contains some tips & tricks to help
choice, check [the manual](https://rust-analyzer.github.io/manual.html) folder. It also contains some tips & tricks to help
you be more productive when using rust-analyzer.
## Getting in touch