/intellij-rust

Rust IDE built using the IntelliJ Platform: https://intellij-rust.github.io/

Primary LanguageKotlinMIT LicenseMIT

Rust plugin for the IntelliJ Platform

official JetBrains project Join the chat at https://gitter.im/intellij-rust/intellij-rust JetBrains plugins JetBrains plugins

Build Status
Check Check Status
Stable Stable Build Status
Beta Beta Build Status
Nightly Nightly Build Status

Installation & Usage

For installation options, see the Quick Start Guide. If you want to jump straight in, open Settings > Plugins > Marketplace in your IDE, search for Rust and install the plugin. To open an existing project, use File | Open and point to the directory containing Cargo.toml. For creating projects, use the Rust template.

All the plugin's features are described in documentation. New features are regularly announced in changelogs.

Compatible IDEs

The plugin is compatible with all IntelliJ-based IDEs starting from the version 2022.2, with the following differences in the sets of the available features:

Open-source and Educational IDEs* CLion IntelliJ IDEA Ultimate, GoLand PyCharm Professional WebStorm, PhpStorm, other commercial IDEs
Language support + + + + +
Cargo support + + + + +
Code coverage + + + + +
Detecting duplicates - + + + +
Debugger - + +** +** -
Run targets - + + - -
Profiler - + - - -
Valgrind Memcheck - + - - -

* IntelliJ IDEA Community Edition, PyCharm Community Edition, PyCharm Edu, IntelliJ IDEA Edu, and third-party IntelliJ-based IDEs.

** Requires the Native Debugging Support plugin. LLDB only

TOML

If you are looking for the TOML plugin, see toml directory in intellij-community repository.

Contributing

You're encouraged to contribute to the plugin if you've found any issues or missing functionality that you would want to see. Check out CONTRIBUTING.md to learn how to set up the project and ARCHITECTURE.md to understand the high-level structure of the codebase. If you are not sure where to start, consider the issues tagged with help wanted.