This week's release includes an editor: toggle block comment action, support for scroll wheel font size zooming, and anchor links and footnotes in Markdown Preview.
Shipped by the Zed Guild 🛡️
- Added support for anchor links for headings in Markdown Preview. (#53184; thanks dongdong867)
- Added support for footnotes in Markdown Preview. (#53086; thanks dongdong867)
- Added support for changing editor font size via scroll wheel (hold
ctrlon Linux/Windows,cmdon macOS). Disabled by default; enable with themouse_wheel_zoomsetting. (#53452; thanks seanstrom) - Fixed file duplication rename to select the entire filename stem instead of just the " copy" suffix, allowing users to type a new name without manually clearing text. (#53146; thanks OmChillure)
- Fixed duplicated prompts/context in ACP conversations when servers echo user message chunks after send. (#53216; thanks OmChillure)
Learn about the Zed Guild.
Features
AI
- Agent: Improved error messages in the agent panel to show specific, actionable copy instead of raw provider error strings. (#53099)
- Agent: Improved branch picker by displaying the full branch name in the documentation aside. (#53791; thanks lixiaoyan)
- Agent: Improved and simplified the UX of creating threads in Git worktrees. (#53941)
- (Preview only) Sidebar: Added branch name display next to worktree names in the agent sidebar thread list. (#53900)
- (Preview only) Sidebar: Added worktree state preservation when archiving agent threads, automatically restoring staged and unstaged changes when the thread is unarchived. (#53215)
- (Preview only) Sidebar: Improved the threads sidebar header by making the separation between projects more distinct. (#53891)
- (Preview only) Sidebar: Improved sidebar project group menu to show a simple close button for single-project windows and a streamlined two-item menu for multi-project windows. (#53933)
- (Preview only) Sidebar: Improved sidebar project headers to toggle fold on click instead of switching worktrees. (#53861)
- (Preview only) Sidebar: Improved the sidebar to show empty project groups with a visible plus button instead of auto-creating placeholder draft threads. (#53852)
- (Preview only) Sidebar: Changed threads to start git worktrees in detached HEAD state if branch is in use or unspecified, instead of generating a random branch name. (#53840)
Git
- Git Graph: Improved visibility of the currently checked out branch and fixed branch name truncation. (#53803)
- Added ability to toggle tree collapse in git panel. (#52965; thanks ErinvanderVeen)
Languages
Other
- Added a first-run prompt when using
zed <path>to choose between opening in an existing window or a new window. The choice is saved to settings and can be changed later via thecli_default_open_behaviorsetting. (#53663) - Added action to toggle block comments (
editor: toggle block comment), bound tocmd-k cmd-/on macOS andctrl-k ctrl-/on Linux/Windows. (#48752; thanks ozacod) - Improved settings search ergonomics. (#53916)
- Improved
pane: reveal in project panelto open the project panel, even if working with an unsaved buffer. (#53539) - Added
hover_popover_stickyandhover_popover_hiding_delaysettings to balance responsiveness of hover popovers. (#53504; thanks daydalek) - Added
workspace: format and saveaction which always formats, regardless of settings. (#53710) - Reduced energy consumption for background windows by throttling their update speed. (#52970)
Bug Fixes
- (Preview only) Sidebar: Fixed the sidebar opening when a new directory in a new window was opened. (#53815)
- (Preview only) Sidebar: Fixed the sidebar opening when a new project in a new window was opened. (#53776)
- (Preview only) Sidebar: Fixed remote project threads appearing as a separate local project in the sidebar. (#53451)
- (Preview only) Sidebar: Fixed issue where tool confirmation indicator would not show up when subagent asks for permissions. (#53428)
- (Preview only) Sidebar: Fixed orphaned files and git metadata not being cleaned up when worktree creation fails during new agent thread setup. (#53287)
- (Preview only) Sidebar: Fixed the new thread icon button not creating a thread in the current active worktree. (#53429)
- (Preview only) Sidebar: Fixed click on the new thread button not opening the agent panel when closed. (#53429)
- (Preview only) Agent: Fixed agent drafts being silently discarded when navigating between threads. (#53862)
- (Preview only) Agent: Fixed archived threads in git worktrees losing their project association. (#53893)
- (Preview only) Agent: Fixed archiving an agent thread sometimes leaving the worktree folder on disk even though the git worktree was removed. (#53959)
- (Preview only) Agent: Fixed a crash when archiving an agent thread that was opened on the main project (not a linked git worktree). (#53629)
- Agent: Fixed a "Session not found" error that could occur after clicking a thread mention link. (#53859)
- Fixed a spurious "Starting proxy..." modal appearing and hanging when switching back to a local project after opening a remote SSH project in a multi-project workspace. (#53575)
- (Preview only) Agent: Fixed reopening an already-visible agent thread so it reuses the existing session instead of creating a broken duplicate. (#53905)
- Agent: Fixed some linked worktree directories not always being cleaned up from disk when archiving a thread. (#53672)
- Agent: Fixed scroll behavior when the agent panel is zoomed-in. (#53657)
- Agent: Fixed calculation of Ollama model context length. (#53543; thanks MarekMalevic)
- Agent: Fixed custom Anthropic models losing their configured thinking/adaptive-thinking mode after the thinking-toggle refactor (#51946). (#52975; thanks enoch-robinson)
- Agent: Fixed multi-line queued messages getting cut-off when the agent panel is in full screen. (#53696)
- Agent: Fixed agent panel getting auto-closed after submitting a queued message when the panel is in full screen. (#53696)
- Agent: Fixed the agent panel being resizable to a width small enough to be essentially unusable. (#53696)
- ACP: Fixed npm-based agents resolving based on current project. (#53560)
- Git: Fixed a bug where worktrees in a detached HEAD state wouldn't show up in the worktree picker. (#53941)
- Gemini: Fixed an issue with MCP servers specifying tools with specific schemas. (#53834)
- Fixed a bug that could cause diff hunks to have an incorrect staged status. (#53929)
- Fixed a crash on exit caused by the Tokio runtime shutdown triggering a panic in extension WASI tasks (Windows). (#53904)
- Fixed a crash when closing a project group whose fallback workspace matched one being removed. (#53549)
- Fixed a regression where creating a git worktree from an existing branch would name the worktree directory after the branch (instead of generating a random name). (#53669)
- Fixed an issue where deleted folders appeared in the recent project picker. (#53662)
- Fixed ANSI escape codes being displayed as raw text in git command output. (#53444; thanks zaniluca)
- Fixed attaching to a devcontainer that has a single metadata element which was started with
devcontainer-cli. (#53557; thanks fechu) - Fixed dev container cross-compilation failing when Zed is launched from outside its source directory. (#53951; thanks antont)
- Fixed handling of multi-stage and stage-specified dockerfiles in dev container manifests. (#53538; thanks KyleBarton)
- Fixed the way we find the base image in a dev container when build args need expansion. (#53538; thanks KyleBarton)
- Fixed breadcrumb syntax colors not updating when theme changes. (#53185; thanks smitchaudhary)
- Fixed duplicate window creation when opening files/directories from the CLI on macOS. (#48146; thanks koh-sh)
- Fixed missing indication that an update was currently being downloaded or installed in the title bar. (#53552; thanks PlagueFPS)
- Fixed missing window icon on X11. (#40096; thanks kitt-cat)
- Fixed panic on devices that don't support BGRA8. (#53808)
- Fixed recent projects modal showing
.barefolder instead of the worktree directory for bare-repo-based git worktree setups. (#52996; thanks saberoueslati) - Fixed regex buffer search highlighting non-matching word occurrences via the selection occurrence highlight feature. (#52611; thanks saberoueslati)
- Fixed semantic token highlighting missing when opening a buffer from multibuffer search results. (#53712; thanks Dnreikronos)
- Fixed tab switcher dismissing when closing the last tab in the active pane. (#53279; thanks saberoueslati)
- Fixed the Zed CLI activating the app window before the user answers the open-behavior prompt in the terminal. (#53915)
- Fixed Zed failing to start on X11 systems with XInput version older than 2.4, which includes many Linux distributions and remote desktop setups. (#53582; thanks can2049)
- Fixed renamed files being reopened with their old path after a restart. (#52539; thanks saberoueslati)
- Fixed some potential edge cases when paths in a project started with
-. (#53484) - Fixed issue that showed underline and strikethrough when markdown preview screen was scaled to a smaller size. (#50934; thanks prertik)
- Removed deprecated key from HTTP
context_servers. (#48003)
Breaking Changes and Notices
- Removed the "Fix with Assistant" code action for diagnostics. The inline assistant remains available and can be deployed with the
assistant: inline assistaction. (#53521)