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

New Features

  • Postfix template not: assert!(xs.is_empty().not) -> assert!(!xs.is_empty()).

  • Annotate calls to unsafe functions outside of unsafe block (by @farodin91).

  • Improved run configuration UI (by @alygin).

  • Quick fix to add a missing turbofish operator (by @la10736).

  • Support for type ascription syntax (RFC 803).

  • Preliminary support for go to definition for macros.

  • Support colored output for cargo check (by @alygin).

  • Support option to use short backtraces (by @alygin).

Fixes

  • Various type inference fixes (by @kumbayo).

  • Fix cast expression parsing priority (by @alygin).

  • Fix Unicode handling when annotating invalid character literal (by @framlog).

  • Fix “using stdlib at …” notification to appear only if version of rust is changed.

  • Don’t execute several instances of rustup concurrently.

Internal Improvements

  • Upgrade to Kotlin 1.1 (by @framlog).

  • Improve test infrastructure for directory based tests.