What’s New in RustRover 2024.3

RustRover 2024.3 introduces new features for the Rust language and deeper integration with JetBrains AI Assistant, as well as performance improvements, new VCS features, and more.
Free for non-commercial use. 30-day trial available.

New Rust-specific features

We’ve implemented a visualization of variable lifetimes for borrow checker errors when an external linter is enabled.

If you're using an external linter, a new Project Errors view will be available in the Problems tool window.

RustRover now detects unused dependencies in the Cargo.toml file and suggests a quick-fix option for easy removal.

Crates that were excluded from the workspace are now shown in the Attach Cargo Projects window.

We’ve made Rustfmt enabled by default instead of the built-in formatter. You can always adjust it to your preference in Settings | Rust | Rustfmt.

AI Assistant in RustRover

RustRover 2024.3 features deeper integration with JetBrains AI Assistant, ensuring more precise and faster results than ever.

New cloud-based LLM built by JetBrains

RustRover is now fully integrated with Mellum – our proprietary large language model (LLM) designed from the ground up to power JetBrains AI Assistant. It provides faster, smarter, and more contextually aware cloud code completion.

Mellum’s power isn’t just in its speed and accuracy; it also benefits from deep integration with the IDE. This synergy between the client-side IDE and server-side AI logic allows Mellum to deliver contextually aware code suggestions that are tailored to each project’s needs.

Read all about it in this blog post.

Fix with AI quick-fix action

A new Fix with AI quick-fix action is now available to you with the Alt+Enter shortcut.

Option to choose a chat model provider

You can now select your preferred AI chat model, choosing from Google Gemini, OpenAI, or local models on your machine. This expanded selection allows you to customize the AI chat’s responses to fit your specific workflow, offering a more adaptable and personalized experience.

Improved context management

In this update, we’ve made managing the context AI Assistant takes into account with its suggestions more transparent and intuitive. A revamped UI lets you view and manage every element included as context, providing full visibility and control. The open file and any selected code within it are now automatically added to the context, and you can easily add or remove files as needed, customizing the context to fit your workflow. Additionally, you can attach project-wide instructions to guide AI Assistant’s responses throughout your codebase.

Among other improvements is the addition of the Explain with AI inlay button near panic backtraces in test failure output.

Please note that cloud-based code completion in AI Assistant is only available with the AI Pro subscription or in the trial version. Local code completion is bundled and enabled by default in your paid RustRover subscription.

New terminal improvements

Completion in the new terminal for the cargo test command will suggest test functions and modules that contain these functions.

You can enable the new terminal via Settings | Tools | Terminal | Enable New Terminal.

VCS

You can now commit changes directly from the editor, view tags on the Branches pane of the Git Log tool window, and use features like shallow cloning of repositories. Other UI improvements, such as displaying file paths in diff dialogs and showing branch names on the welcome screen, further enhance usability and ease of navigation.

The update also includes AI-generated PR/MR titles and descriptions for streamlined code reviews, as well as titles for newly created shelve changelists.

Performance, UI, and more

On top of all that, we’ve also improved the overall performance of the IDE and have eliminated some annoying freezes. Additionally, RustRover 2024.3 includes the latest updates from IntelliJ IDEA, such as UI improvements and features like better support for projects in WSL.