28 lines
992 B
Markdown
28 lines
992 B
Markdown
<h1 align="center">Rust-LS</h1>
|
|
<p align="center">A Dockerized Rust Language Server</p>
|
|
|
|
# Install steps
|
|
## Setting up Virtual Environments
|
|
The first and most important steps are to build the docker images, as they are the boilerplate of this language server. Just run the following commands while in the **Rust-LS** directory to download the pre-existing docker images from **git.objnull.net**
|
|
|
|
```bash
|
|
./scripts/pull.sh
|
|
```
|
|
|
|
After that, you'll want to trick your system into thinking you already have both installed on your actual machine. To do that, just run the following command:
|
|
|
|
```bash
|
|
./scripts/install.sh
|
|
```
|
|
|
|
To test if your setup works as intended, just run `rust-analyzer --version` and `cargo --version` and they should both spit back their respective versions.
|
|
|
|
## Setting up IDE
|
|
Download the *Rust-Analyzer* extension from the VSCode store and set the following paths:
|
|
|
|
Field|Path
|
|
---|---
|
|
Cargo|/bin/cargo
|
|
Server|/bin/rust-analyzer
|
|
|
|
After that, it *should* work as intended!
|