Skip to content

Instantly share code, notes, and snippets.

@softprops
Last active July 22, 2017 18:52
Show Gist options
  • Save softprops/3d843159ebd2591d960a52f87e9aa40a to your computer and use it in GitHub Desktop.
Save softprops/3d843159ebd2591d960a52f87e9aa40a to your computer and use it in GitHub Desktop.
# vscode rust seti[
use vscode-rust ( not rusty )
rustup component install rust-src
rustup component install rust-docs
rustup update
rustup which rust-src ( save this path )
cargo install --force racer
cargo install --force rustfmt
cargo install --force rustsym
legacy vs rust ls?
settings.json
```
"rust.mode": "legacy",
"rust.rustLangSrcPath": "~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rust-src",
"files.associations": {
"*.lock": "toml"
},
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment