###### tags: `Rust` `VSCode` `plugin` `rls`
# Rust Language Server on VSCode
エラーに苦しめられたので、VScode RLS 拡張機能の導入をメモ
1. Rustをインストール
2. VScode Rust(rls)をインストール
3. 依存バイナリをインストール
- `rustup component add <tool>` を使用
- rls
- rust-src
- rust-analysis
vscode拡張機能のinstallとともに、上記のバイナリは
インストールされるかと思いきや、rlsのバージョンが足りないものがインストールされるだけ。
rustup component add rls して最新のrlsをインストールする
主なエラーメッセージ
```
The Rust Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
```
RLSは3分以内に5回クラッシュしました。サーバーは再起動しません。