Zed v0.146.3 introduces a built-in REPL for running code line-by-line or block-by-block, alongside full window and unsaved buffer session restoration. The release also brings advanced language formatting controls, Ruff extension integration, and extensive Vim mode improvements.
You can now leverage an integrated REPL for Python and other blocks, configure multiple formatters per language, and enjoy restored window sessions out of the box.
📊 Product & Engineering Leads
Feature velocity increases significantly with enhanced AI assistant panel controls, multi-provider model switching, and gpt-4o-mini support.
⚙️ DevOps & Security
No direct infrastructure or CI/CD deployment impacts are introduced in this client-side IDE update.
⚠️ Breaking Changes & Deprecations (1)
- Fixed multiline details provided by vtsls breaking rendering in autocompletions (thanks [WeetHet](https://github.com/WeetHet)).
Support for quickly switching between multiple language model providers in the assistant panel
Support for gpt-4o-mini
Built-in extension for Ruff, an extremely fast Python linter and formatter
Custom inline assist bindings to pre-fill prompts from keymaps
Ability to automatically generate or manually edit summaries for assistant conversations
⚡ Performance & Enhancements (5)
Automatic restoration of all open windows on startup by default, with settings to revert to last workspace
Automatic restoration of unsaved buffers when closing projects
Multi-formatter support allowing configuration of multiple formatters and language servers per language
Extended task templates with shell and hide fields
Vim mode improvements including count and object motion support for comment toggling and updated Y yank behavior
🔧 Bug Fixes & Patches (5)
Fixed multiline details provided by vtsls breaking autocompletion rendering
Fixed diagnostic popup flickering when moving cursor within symbol boundaries
Fixed inline assistant overwriting tabs with spaces in certain cases
Fixed Supermaven truncating lines when accepting inline suggestions
Linux fixes including typing shortcuts like ctrl-/ and panic prevention during temporary GPU unavailability
❓ Frequently Asked Questions
Does Zed v0.146.3 contain breaking changes?
No, there are no documented breaking changes, though window restoration now defaults to opening all previously open windows instead of just the last workspace (which can be reverted via settings).
What is the primary highlight of v0.146.3?
The primary highlight is the addition of a built-in REPL allowing developers to execute code block-by-block, line-by-line, or via selections.
How should teams prepare to upgrade to v0.146.3?
Teams can upgrade safely without migration scripts. Developers who prefer the old single-workspace startup behavior can adjust the 'restore_on_startup' setting.
📄 View Raw Release Notes (Original Developer Log)
## Enhancements
Zed now features a built-in REPL!

You can run code:
* Line by line
* Block by block (`# %%`)
* Any selection
View the [blog post](https://zed.dev/blog/repl) for more details.
### General
- Added ability to restore all windows that were open when Zed was quit. Previously only the last used workspace was restored. This is now the default behavior. To get back the old behavior, add the following to your settings: `{"restore_on_startup": "last_workspace"}` (Part of [#4985](https://github.com/zed-industries/zed/issues/4985) and [#4683](https://github.com/zed-industries/zed/issues/4683)).
- Added automatic restoring of unsaved buffers. Zed can now be closed even if there are unsaved changes in buffers. One current limitation is that this only works when having projects open, not single files or empty windows with unsaved buffers. The feature can be turned off by setting `{"session": {"restore_unsaved_buffers": false}}` ([#4985](https://github.com/zed-industries/zed/issues/4985), [#4683](https://github.com/zed-industries/zed/issues/4683)).
- Added support for quickly switching between multiple language model providers in the assistant panel.
- Added the ability to create custom inline assist bindings that pre-fill a prompt from your keymap, e.g.:
```json
[
{
"context": "Editor && mode == full",
"bindings": {
"ctrl-shift-enter": [
"assistant::InlineAssist",
{ "prompt": "Build a snake game" }
]
}
}
]
```
- Added the ability to automatically generate new summaries for assistant conversations or manually edit them.
- Added support for gpt-4o-mini ([#14769](https://github.com/zed-industries/zed/issues/14769), thanks [versecafe](https://github.com/versecafe)).
- Improved the way git hunks diff can be toggled with mouse. Now, clicking on the diff marker will toggle an actions menu. Inline diffs now can be closed via the mouse, rather than just `esc` ([#12404](https://github.com/zed-industries/zed/issues/12404)).
- Extended task templates with `shell` and `hide` fields to use custom shells and allow for custom close behavior.
- Allow user to configure multiple formatters for a given language: `format` and `format_on_save` now accept an array of formatting actions to run; `language_server` formatter option now accepts the name of a language server to use (e.g. `{"language_server": {"name": "ruff"}}`); when not specified, a primary language server is used ([#4822](https://github.com/zed-industries/zed/issues/4822)).
- Improved SublimeText keymap (Mac & Linux). Add key binding for MoveLineUp/Down (`ctrl-shift-up` on Linux and `cmd-ctrl-up` on MacOS) ([#15089](https://github.com/zed-industries/zed/issues/15089); thanks [unixtensor](https://github.com/unixtensor)).
- Added a button to copy the SHA from a Git blame entry (thanks [Hawkbawk](https://github.com/Hawkbawk)).
- Added `Copy`, `Paste`, `Select All`, & `New Terminal` to the terminal context menu (thanks [versecafe](https://github.com/versecafe)).
- Added the ability to sign out of a Supermaven account ([#12715](https://github.com/zed-industries/zed/issues/12715); thanks [kevmo314](https://github.com/kevmo314)).
- Improved Supermaven status messages ([#12715](https://github.com/zed-industries/zed/issues/12715); thanks [kevmo314](https://github.com/kevmo314)).
- Added `"command_aliases"` setting to let you abbreviate commands.
- Improved UX of project search.
- Added a hint the first few times you open a multibuffer to explain what is going on.
- Refined the appearance of channel tabs.
- Changed preference for GPUs on macOS so that eGPUs are now preferred over integrated ones (and both of which are preferred over discrete GPUs) on Intel Macs.
### Languages
- Added extension for [Ruff](https://docs.astral.sh/ruff/), an extremely fast Python linter and code formatter, written in Rust. To install Ruff extension, open the command palette, search for `zed: extensions` and then in the search bar of the extensions view type in Ruff. Once installed, you can configure `ruff` to add additional lints and provide formatting via the following setting snippet:
```json
"languages": {
"Python": {
"format_on_save": { "language_server": { "name": "ruff" } },
"formatter": { "language_server": { "name": "ruff" } },
"language_servers": ["pyright", "ruff"]
}
}
```
- TypeScript's `tsconfig.json` files are now treated as `JSONC`.
- Added syntax highlighting for the `using` keyword in TypeScript ([#14762](https://github.com/zed-industries/zed/issues/14762); thanks [versecafe](https://github.com/versecafe)).
- Added syntax highlighting to TypeScript's `infer` keyword ([#14696](https://github.com/zed-industries/zed/pull/14696); thanks [rimuy](https://github.com/rimuy)).
### Vim
- Added support for count and object motion to the toggle comments action ([#14337](https://github.com/zed-industries/zed/issues/14337); thanks [hahanein](https://github.com/hahanein)).
- Updated `Y` to yank to end of line (like neovim) ([#14771](https://github.com/zed-industries/zed/issues/14771), thanks [vbhavsar](https://github.com/vbhavsar)).
- Fixed `jk` binding preventing you from repeating `j` ([#14725](https://github.com/zed-industries/zed/issues/14725)).
- Fixed `escape` in normal mode to also clear the selected register ([#14311](https://github.com/zed-industries/zed/issues/14311)).
- Fixed `gv` after `y`, `d`, etc. ([#13760](https://github.com/zed-industries/zed/issues/13760)).
- Fixed right clicks changing vim mode ([#14625](https://github.com/zed-industries/zed/issues/14625), thanks [Congyuwang](https://github.com/Congyuwang)).
- Fixed `assistant: quote selection` not working correctly when making visual-line-mode selections in Vim mode.
## Bug Fixes
- Fixed multiline details provided by vtsls breaking rendering in autocompletions (thanks [WeetHet](https://github.com/WeetHet)).
- Fixed a bug where diagnostic popups would flicker when moving the cursor within the boundaries of the symbol (thanks [WeetHet](https://github.com/WeetHet)).
- Fixed a bug where the inline_assistant would overwrite tabs with spaces in some cases ([#14885](https://github.com/zed-industries/zed/issues/14885); thanks [arturhoo](https://github.com/arturhoo)).
- Fixed a bug where Supermaven truncated lines when accepting inline suggestions ([#13039](https://github.com/zed-industries/zed/issues/13039); thanks [kevmo314](https://github.com/kevmo314)).
- Fixed rare cases where a code action triggered by diagnostic may not be available for use.
- Fixed multi-key shortcuts not working across completion menu changes ([#11009](https://github.com/zed-industries/zed/issues/11009)).
- Fixed multi-key shortcuts discarding earlier input ([#14445](https://github.com/zed-industries/zed/pull/14445)).
- Fixed key maps so user-defined mappings take precedence over builtin multi-key mappings ([#13543](https://github.com/zed-industries/zed/issues/13543)).
- Fixed a bug where overridden shortcuts would still show in the Command Palette.
- Fixed outline panel's filter not accepting spaces.
- Fixed a bug where backslashes would not appear in snippets ([#14721](https://github.com/zed-industries/zed/issues/14721); thanks [lnay](https://github.com/lnay)).
- Fixed a bug that caused focus to be lost when renames and inline assists were scrolled offscreen.
- Fixed syntax highlights being offset from syntax in diagnostics popovers.
- Fixed worktree ordering in workspace serialization (thanks [eth0net](https://github.com/eth0net)).
- Fixed an issue where the shared screen tab's icon would not render as dimmed when the tab was inactive.
- Fixed ESLint language server adding comments on save if the `source.organizeImports` code action was used on save. Zed now filters out code actions sent to the language servers by checking whether they are supported first ([#13633](https://github.com/zed-industries/zed/issues/13633)).
- Linux: Fixed typing shortcuts like `ctrl-/` on some systems.
- Linux: Fixed a panic that occurred when GPU was temporarily unavailable ([#12766](https://github.com/zed-industries/zed/issues/12766), [#14022](https://github.com/zed-industries/zed/issues/14022)).
- Linux: Fixed auto-update into custom tarball locations ([#14291](https://github.com/zed-industries/zed/issues/14291); thanks [ArrayBolt3](https://github.com/ArrayBolt3)).
- Linux: Use local time zone in chat and Git blame ([#14610](https://github.com/zed-industries/zed/pull/14610); thanks [apricotbucket28](https://github.com/apricotbucket28)).