LoginSignup
4
3

More than 5 years have passed since last update.

VS CodeでRustを書くときにつまづいたこと

Last updated at Posted at 2019-03-08

バージョン情報

アプリ バージョン
VSCode バージョン1.31.1 (1.31.1)
Rust (rls) - 拡張機能 0.5.3
rustup 1.17.0 (069c88ed6 2019-03-05)
rustc 1.33.0 (2aa4c46cf 2019-02-28)
cargo 1.33.0 (f099fe94b 2019-02-12)

つまづいたこと

VS CodeにRust(rls)入れてもエラーになる。
どうやらrlsの起動に失敗しているみたい。

やったこと。

コマンドラインで rls, rust-analysis, rust-srcをインストールした

$ rustup component add rls rust-analysis rust-src

VS Codeの拡張機能の設定を修正した。

{
  "rust-client.channel": "stable"
}

VS Codeを再起動した。

すると、ツールのインストールが必要とか言われるので、YESを押下すると、ツールのインストールが行われる。

以上です。よろしくお願いします。

4
3
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3