I’m glad to announce the first nightly build of IntelliJ-Rust plugin. You can grab it here.
It is really far from being complete, but it is already quite usable! My single most favorite feature is “go to symbol” (
Ctrl+Alt+Shift+N), which allows you to quickly navigate to any item in the local crate or in a dependency (standard library is not yet supported because it’s a bit of a hassle to download its source code). We also have “go to definition” for local crate (
Ctrl+B), file overview (
Ctrl+F12) and a simple completion.
There is also a number of small, but neat things. For example, a quick fix to create a module file if you have
mod foo;, but no
foo.rs, or context sensitive snippets (
pf expand to field definition if you are inside a
On the technical side of things, the plugin is implemented in Kotlin, which is a real breath of fresh air in the Java world. We do not use Racer and we likely won’t be a heavy user of the upcoming RLS. Following the good old IDEA tradition, we have implemented our own parser and symbol resolver. There is no type inferencer yet, but it is on the roadmap! It’s a ton of work, but it allows us to readily reuse IDEA’s powerful indexing frameworks.