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

New Features

  • Highlight duplicate lifetime declaration (by @alygin).

  • Type inference for ? operator.

  • Support for pub(crate) syntax.

  • Support for attributes on type parameters.

  • Simplify Boolean Expression intention (by @slavam2605).

  • Run Configuration From Context uses --package argument for multi-package workspaces.


  • Quick fixes now correctly handle read-only files.

  • Correctly color self in use declarations.

Internal Improvements

  • Major PSI rearrangements:
    • Rs prefix is used instead of Rust/Element,
    • argument-related PSI nodes renames,
    • more rules unified (by @alygin).
  • Kotlin runtime and stdlib jars are no longer bundled.

  • Type-related code simplified, stub data is almost always sufficient to compute the type.

  • CI now runs both the latest nightly Rust toolchain as well as 1.13.0.