Skip to content

Instantly share code, notes, and snippets.

@supernoveau
Created April 5, 2017 18:10
Show Gist options
  • Save supernoveau/85f2cb1a99ae492b1377d3d7a33e900c to your computer and use it in GitHub Desktop.
Save supernoveau/85f2cb1a99ae492b1377d3d7a33e900c to your computer and use it in GitHub Desktop.

Rust

Rust setup

I'm using Atom (on a fairly speedy machine, VS Code has some solid plugin support too) with:

  • atom-beautify (with rustfmt installed, cargo install rustfmt) * language-rust * linter + linter-rust (using cargo check, cargo install cargo-check) * you-complete-me (but YCM is not fun to install, so I'd recommend the racer plugin, both require the Rust source cloned and installed somewhere)

1.\ You need to cargo install racer and add the bin to your path
2.\ Clone the Rust source of your version of Rust, and add that to your path
3.\ Install the plugin and set the paths in Atom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment