An overview about the state of Rust support by text editors and their integrated brethren.
Below you'll find a table listing the comparable features of editors, followed by specific information about single programs. The last part presents some more tooling of Rust's ecosystem.
Syntax highlighting (.rs) | Syntax highlighting (.toml) | Snippets | Code Completion | Linting | Code Formatting | Go-to Definition | Debugging | Documentation Tooltips | |
---|---|---|---|---|---|---|---|---|---|
Atom | ✓ | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | |
Emacs | ✓1 | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | |
Sublime | ✓ | ✓1 | ✓ | ✓1 | ✓ | ✓1 | ✓1 | ||
Vim/Neovim | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | |
VS Code | ✓ | ✓1 | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 |
Show more editors ⇩ | |||||||||
BBedit | ✓1 | ✓1 | ✓1 | ✓1 | (✓1) | ||||
Geany | ✓ | ||||||||
gedit | ✓1 | ✓1 | ✓1 | ||||||
Kakoune | ✓ | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | |
Kate | ✓ | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | |||
Micro | ✓ | ✓ | ✓1 | ✓1 | |||||
Midnight Commander | ✓1 | ||||||||
Textadept | ✓ | ✓ | ✓1 | ✓1 | ✓1 | ✓1 | |||
Eclipse | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | |
IntelliJ-based IDEs | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 | ✓1 |
Visual Studio | ✓ | ✓1 | ✓1 | ✓1 | |||||
GNOME Builder | ✓ | ✓ | ✓ | ✓ | ✓1 | ✓ | |||
Show more IDEs ⇩ | |||||||||
Ride | ✓ |
✓ = 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)
2019-06-29
Important packages: Rust-BBEdit
2019-07-15
Important packages:Rust-IDE
2016-01-12
Important packages: rust-mode, flycheck-rust, emacs-racer, lsp-mode, rust-snippets,rustic
2019-07-17
Micro is a modern and intuitive terminal-based text editor.
Important packages:micro-rust-plugin
2020-08-20
Important packages: mc-rust-lang
2017-08-25
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™.
2015-08-16
Important packages:GEdit-Rust-lang (syntax highlighting), gedit-config (also syntax highlighting), gracer
2016-10-09
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.
2020-05-08
Important packages:ta-rust(unfortunately out of date),ta-toml
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.
2018-08-31
Sublime supports Rust out-of-the-box with syntax highlighting, snippets, build scripts, and its new definition system.
Important packages: TOML, Rust Enhanced, YouCompleteMe plugin, BeautifyRust
2018-08-31
Important packages:
Important Neovim-only packages:
2019-07-15
Important packages:Rust,CodeLLDB, Debug, Rust Test Lens, TOML Language Supportor Better Toml, crates
2019-07-15
Corrosion is aRust-specific IDE built on Eclipse (scroll down to "Eclipse IDE for Rust Developers") andan Eclipse plugin.
With Corrosion you get:
2018-31-07
Important packages:Visual Rust
With Visual Rust you get
2015-09-25
Plugins:intellij-rustandintellij-toml.
The plugins bring Rust and TOML support to IDEA, CLion, PyCharm, and other JetBrains IDEs.
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.
2020-07-29
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.
2016-10-10
With GNOME Builder you get out of the box
Rustfmt can be used with help of beautifier.
2018-11-30
Racer is a code completion tool for Rust that is developed standalone. It is the basis for code completion in pretty much every setup.
2015-08-16
rustfmt is a code formatting tool which can easily be installed via cargo install rustfmt
2017-02-24
rusty-tags provides tags for ctags which can be used with all editors that support it.
2017-02-24
TabNine uses deep learning to generate code completion suggestions. Plugins for several editors are available.
2020-08-20