Agent documentation index: llms.txt. Markdown versions are available for docs pages.
Download

How to Migrate from RustRover to Zed

This guide covers keybindings, settings, and the differences you’ll encounter as a Rust developer switching from RustRover.

Install Zed

Zed is available on macOS, Windows, and Linux.

For macOS, you can download it from zed.dev/download, or install via Homebrew:

brew install --cask zed

For Windows, download the installer from zed.dev/download, or install via winget:

winget install Zed.Zed

For most Linux users, the easiest way to install Zed is through our installation script:

curl -f https://zed.dev/install.sh | sh

After installation, you can launch Zed from your Applications folder (macOS), Start menu (Windows), or directly from the terminal using: zed . This opens the current directory in Zed.

Set Up the JetBrains Keymap

If you’re coming from RustRover, the fastest way to feel at home is to use the JetBrains keymap. During onboarding, you can select it as your base keymap. If you missed that step, you can change it anytime:

  1. Open Settings with Cmd+, (macOS) or Ctrl+, (Linux/Windows)
  2. Search for Base Keymap
  3. Select JetBrains

This maps familiar shortcuts like Shift Shift for Search Everywhere, Cmd+O for Go to Class, and Cmd+Shift+A for Find Action.

In editors, the JetBrains keymap also makes Alt+Left / Alt+Right and Shift+Alt+Left / Shift+Alt+Right move and select by subword, so identifiers like camelCase and snake_case behave like RustRover’s CamelHumps navigation.

Set Up Editor Preferences

You can configure most settings in the Settings Editor (cmd-,|ctrl-,). For advanced settings, run zed: open settings file from the Command Palette to edit your settings file directly.

Settings RustRover users typically configure first:

Zed SettingWhat it does
format_on_saveAuto-format when saving. Set to "on" to enable (uses rustfmt by default).
soft_wrapWrap long lines. Options: "none", "editor_width", "preferred_line_length"
preferred_line_lengthColumn width for wrapping and rulers. Rust convention is 100.
inlay_hintsShow type hints, parameter names, and chaining hints inline.
relative_line_numbersUseful if you’re coming from IdeaVim.

Zed also supports per-project settings. Create a .zed/settings.json file in your project root to override global settings for that project.

Tip: If you’re joining an existing project, check format_on_save before making your first commit. Otherwise you might accidentally reformat an entire file when you only meant to change one line.

Open or Create a Project

After setup, press Cmd+Shift+O (with JetBrains keymap) to open a folder. This becomes your workspace in Zed.

To start a new project, use Cargo from the terminal:

cargo new my_project
cd my_project
zed .

Or for a library:

cargo new --lib my_library

You can also launch Zed from the terminal inside any existing Cargo project with: zed .

Once inside a project:

  • Use Cmd+Shift+O or Cmd+E to jump between files quickly (like RustRover’s “Recent Files”)
  • Use Cmd+Shift+A or Shift Shift to open the Command Palette (like RustRover’s “Search Everywhere”)
  • Use Cmd+O to search for symbols (like RustRover’s “Go to Symbol”)

Open buffers appear as tabs across the top. The Project Panel shows your file tree and Git status. Toggle it with Cmd+1 (just like RustRover’s Project tool window).

Differences in Keybindings

If you chose the JetBrains keymap during onboarding, most of your shortcuts should already feel familiar. Here’s a quick reference for how Zed compares to RustRover.

Common Shared Keybindings

ActionShortcut
Search EverywhereShift Shift
Find Action / Command PaletteCmd + Shift + A
Go to FileCmd + Shift + O
Go to SymbolCmd + O
Recent FilesCmd + E
Go to DefinitionCmd + B
Find UsagesAlt + F7
Rename SymbolShift + F6
Reformat CodeCmd + Alt + L
Toggle Project PanelCmd + 1
Toggle TerminalAlt + F12
Duplicate LineCmd + D
Delete LineCmd + Backspace
Move Line Up/DownShift + Alt + Up/Down
Expand/Shrink SelectionAlt + Up/Down
Move by subwordAlt + Left/Right
Select by subwordShift + Alt + Left/Right
Comment LineCmd + /
Go Back / ForwardCmd + [ / Cmd + ]
Toggle BreakpointCtrl + F8

Different Keybindings (RustRover → Zed)

ActionRustRoverZed (JetBrains keymap)
File StructureCmd + F12Cmd + F12 (outline)
Navigate to Next ErrorF2F2
RunCtrl + RCtrl + Alt + R (tasks)
DebugCtrl + DAlt + Shift + F9
StopCmd + F2Ctrl + F2
Expand MacroAlt+EnterCmd + Shift + M

Unique to Zed

ActionShortcutNotes
Toggle Right DockCmd + RAgent panel, notifications
Split PanesCmd + K, then arrow keysCreate splits in any direction

How to Customize Keybindings

  • Open the Command Palette (Cmd+Shift+A or Shift Shift)
  • Run zed: open keymap

This opens a list of all available bindings. You can override individual shortcuts or remove conflicts.

Zed also supports key sequences (multi-key shortcuts).

Differences in User Interfaces

Different Analysis Engines

RustRover uses its own proprietary code analysis engine for Rust intelligence. Zed uses rust-analyzer via the Language Server Protocol (LSP).

What this means for you:

  • Completions, go-to-definition, find usages, type inference — All available in Zed via rust-analyzer
  • Macro expansion — Available in both (use Cmd+Shift+M in Zed)
  • Inlay hints — Both support type hints, parameter hints, and chaining hints

Where you might notice differences:

  • Some refactorings available in RustRover may not have rust-analyzer equivalents
  • RustRover-specific inspections (beyond Clippy) won’t exist in Zed
  • rust-analyzer is configured via JSON in Zed, not through a GUI

How to adapt:

  • Use Alt+Enter for available code actions—rust-analyzer provides many
  • Configure rust-analyzer settings in .zed/settings.json for project-specific needs
  • Run cargo clippy for linting (it integrates with rust-analyzer diagnostics)

Project Configuration

Both editors store per-project configuration in a hidden folder. RustRover uses .idea (with XML files), Zed uses .zed (with JSON files).

Run configurations don’t transfer. RustRover stores run/debug configurations in .idea. These have no automatic migration path. You’ll recreate them as Zed tasks in .zed/tasks.json and debug configurations in .zed/debug.json.

No Cargo tool window. RustRover provides a visual tree of your workspace members, targets, features, and dependencies. Zed doesn’t have this. You work with Cargo.toml and the Cargo CLI directly.

Toolchain management is external. RustRover lets you select and switch toolchains in its settings UI. In Zed, you manage toolchains through rustup.

Configuration is opt-in. RustRover auto-generates .idea when you open a project. Zed doesn’t generate anything. You create .zed/settings.json, tasks.json, and debug.json as needed.

How to adapt:

  • Create a .zed/settings.json in your project root for project-specific settings
  • Define common commands in tasks.json (open via Command Palette: zed: open tasks):
[
  {
    "label": "cargo run",
    "command": "cargo run"
  },
  {
    "label": "cargo build",
    "command": "cargo build"
  },
  {
    "label": "cargo test",
    "command": "cargo test"
  },
  {
    "label": "cargo clippy",
    "command": "cargo clippy"
  },
  {
    "label": "cargo run --release",
    "command": "cargo run --release"
  }
]
  • Use Ctrl+Alt+R to run tasks quickly
  • Lean on your terminal (Alt+F12) for anything tasks don’t cover

No Cargo Integration UI

RustRover’s Cargo tool window provides visual access to your project’s targets, dependencies, and common Cargo commands. You can run builds, tests, and benchmarks with a click.

Zed doesn’t have a Cargo GUI. You work with Cargo through:

  • Terminal — Run any Cargo command directly
  • Tasks — Define shortcuts for common commands
  • Gutter icons — Run tests and binaries with clickable icons

How to adapt:

  • Get comfortable with Cargo CLI commands: cargo build, cargo run, cargo test, cargo clippy, cargo doc
  • Use tasks for commands you run frequently
  • For dependency management, edit Cargo.toml directly (rust-analyzer provides completions for crate names and versions)

Tool Windows vs. Docks

RustRover organizes auxiliary views into numbered tool windows (Project = 1, Cargo = Alt+1, Terminal = Alt+F12, etc.). Zed uses a similar concept called “docks”:

RustRover Tool WindowZed EquivalentShortcut (JetBrains keymap)
Project (1)Project PanelCmd + 1
Git (9 or Cmd+0)Git PanelCmd + 0
Terminal (Alt+F12)Terminal PanelAlt + F12
Structure (7)Outline PanelCmd + 7