Syntax highlighting (.rs)
Syntax highlighting (.toml)
|Show more editors ⇩|
|Show more IDEs ⇩|
✓ = supported out-of-the-box, ✓1 = supported via plugin
Important packages:ide-rust automatically prompts to install the nightly toolchain and then sets up everything else that's needed for code completion, API documentation lookup and so on.build-cargo(relying on atom-build)
Important packages: Rust-BBEdit
Micro is a modern and intuitive terminal-based text editor.
Important packages: mc-rust-lang
Specific highlights: Geany is one of the few editors with syntax highlighting out-of-the-box (since 1.24). It has built in scripts to run rustc, and even cargo support is coming soon™.
Specific highlights: Kate provides Rust and .toml syntax highlighting out of the box. Plus, there is also support for rls and through that autocompletion, linting, code formatting and go-to definition. Activate it with: Settings > Configure Kate > Plugins > LSP Client.
Specific highlights: Textadept is one of the few editors with syntax highlighting out-of-the-box (since 8.0). The module has built in scripts to run rustc with simple syntax checking and cargo support.
Sublime supports Rust out-of-the-box with syntax highlighting, snippets, build scripts, and its new definition system.
Important Neovim-only packages:
With Corrosion you get:
Important packages:Visual Rust
With Visual Rust you get
Language support includes syntax highlighting, completion, navigation, and other code insight features. You can work with Cargo commands and run Clippy or Rustfmt without leaving the IDE.
Debugger and profiler are available in CLion and IntelliJ IDEA Ultimate. CLion's integration also supports CPU profiling.. For all other IDEs, Debugging is possible using the Native Debuggingplugin.
ride is another IDE that is exclusively built for Rust. It is still in a very early state, and the author suggests not to use it productively.
But if you want to take a look behind the curtains, you can do so on YouTube where he shows recordings of him programming ride.
With GNOME Builder you get out of the box
Rustfmt can be used with help of beautifier.
Racer is a code completion tool for Rust that is developed standalone. It is the basis for code completion in pretty much every setup.
rustfmt is a code formatting tool which can easily be installed via
cargo install rustfmt
TabNine uses deep learning to generate code completion suggestions. Plugins for several editors are available.