Editor Setup

While most popular development environments support Rust, support for certain features like auto-completion and go-to-definition is better in some than others.

VS Code

For new Rust users we recommend using VS-Code as your editor and IDE for Nannou development. Currently it seems to have the best support for the Rust language including syntax highlighting, auto-complete, code formatting and more. It also comes with an integrated unix terminal and file navigation system. Below are the steps we recommend for getting started with Nannou development using VS-Code.

  1. Download VS-Code for your OS.
  2. In VS code user settings, set "rust-client.channel": "stable".
  3. Install RLS (the Rust Language Server) plugin for VS-Code.
  4. Click on the 'view' menu and select 'integrated terminal'.

Other Environments

Here are links to assist with setting up other popular development environments for supporting Rust.

  1. Sublime Text
  2. Atom
  3. Intellij IDEA
  4. Vim
  5. Emacs
  6. Visual Studio
  7. Eclipse