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 like IDEA, CLion or PyCharm. Latest plugin is guranteed to support the latest released major platform version (2017.3 at the moment of writing), it may support some previous or EAP versions. See Help > About menu for IDE version and Settings > Plugins menu for plugin version.



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 #82

New Features

  • Now Goto Declaration action navigates to derive meta item if the corresponding trait is implemented via #[derive] attribute

  • Implement name resolution and completion of paths in include macros and #[path] attribute

  • Support Context Info action

  • Show nested items of function in structure view

  • Support type hints for generic type parameters (by @dem1tris)

  • Initial implementation of iter postfix template (by @Voronchikhin)

  • Implement preliminary inspection of anchored paths for Rust 2018. Note, it’s disabled by default because final design of use item paths is not fixed yet

  • Create error annotation for E0404 error

  • Support type inference in box pattern


  • Now Different impl member order from the trait annotation doesn’t highlight comments and attributes

  • Correctly resolve extern crate items with dependency on the same crate with a different version

  • Fix false positive error highlighting of Unresolved Reference inspection for trait objects and generic type parameters

Internal Improvements

  • Implement expression categorization as part of borrow checker implementation

  • Various refactorings in tests