IntelliJ Rust

Rust plugin for IntelliJ IDEA*

*work-in-progress, expect bugs and missing features


Getting alpha builds

IntelliJ Rust is currently in the alpha stage of development. When we reach some acceptable level of stability, we publish alpha builds to the IntelliJ’s main plugin repository. You can download and install these builds directly from Plugins > Browse repositories screen in your IDE.

As this is a preview release, something might go wrong. So, be brave to face some nasty bugs. If you find one, we would very appreciate if you file an issue on our bugtracker or ping us on our chat.

Setting up nightly builds

In addition to preview releases, we also ship pre-release builds of intellij-rust and intellij-toml in the nightly channel.

To use them you need to follow the instructions of adding additional plugin repository and paste the URL for the one you need:

- Rust:

Nightly builds are daily snapshots of current development branch. So, it’s natural that there may be even more bugs than in alpha channel. If you find one, we would very appreciate if you file an issue on our bugtracker or ping us on our chat.

Compatible IDEs

The plugin should be compatible with any Intellij based IDE starting from build 143.2287.1. This includes all 2016.1 releases and newer.For example, the minimum supported IDEA version is 15.0.4, the minimum supported CLion version is 1.2. See Help > About menu in the IDE to learn the build version you are using.



What is IntelliJ Rust

Intelligent Rust

We aim to build JetBrains-quality language support for IntelliJ IDEA and related IDEs. Right now, you get native code completionWIP, broad navigation, intentions, formatting and much more...

Corroded IDEA

...while this is still your ol' good IDE. Enjoy highly productive developer experience, VCS integration and other languages support.

What's new

IntelliJ Rust Changelog #49

New Features

  • pd and ppd snippets use eprintln!.

  • Navigate To Implementation shortcut and gutter icon for structs and enums.

  • Quick definition (Ctrl+Shift+I) works (by @Undin).

  • Find usages filters by usage type (by @farodin91).

  • Toggle Ignore intention for tests (by @farodin91).

  • Use hyperlinks in quick documentation (by @Undin).


  • Autoderef works for field access (by @himikof).

  • Fix infinite loop in type inference.

  • Hints for overly long types use _.

  • Cargo project is updated when Cargo.lock changes.

  • Autoscroll from source works for structure (Alt+7).

Internal Improvements

  • Most of the internal APIs work with CargoWorkspace instead of Module.

  • Cargo libraries are created on the fly.

  • Type inference refactoring.