IntelliJ Rust

Rust plugin for IntelliJ IDEA*

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

Install

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: https://plugins.jetbrains.com/plugins/nightly/8182
- TOML: https://plugins.jetbrains.com/plugins/nightly/8195

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.

×

Source

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

Intellij Rust participates in impl period! If you’ve always wanted to contribute to IntelliJ Rust, then now it’s the best time for it! Take a look at our up for grab issues, say hello in the impl period gitter room or learn about the inner workings of the plugin!

New Features

  • Some privacy-related errors are annotated (by @farodin91).

  • More complete type inference.

  • Some type-checking related errors are annotated.

  • Better type inference for primitive types (by @kumbayo).

Fixes

  • Fix false positive for “cannot borrow immutable local variable” (by @kumbayo).

  • Don’t add :: after self in self parameter on completion (by @farodin91).

  • Expression Type (Ctrl+Shift+P) works for local variable declarations.

  • Fix type of byte literals.

Internal Improvements

  • Short-term plan is now available at the wiki.

  • Build now uses Kotlin Gradle DSL.

  • Macro completion is simplified (by @farodin91).

  • Slightly faster parser.

  • Tests no longer use assertj.

  • Fix all compiler’s warnings.