Release notes
Zed v1.8.2
This week's release includes the ability to create a new worktree right from the sidebar's new-thread button, a new agent.terminal_init_command setting to automatically run a command when opening a new agent terminal thread, a workspace: reset pane sizes command to reset all panes to equal sizes, and new editor: select inside delimiters / editor: select around delimiters actions for expanding a selection through nested brackets and quotes.
Features
AI
- Sidebar: Enabled creating a new worktree from the sidebar's "new thread" icon button. (#59341)
- Sidebar: Improved the archive "Search all threads" view so you can filter by project name, not just by thread title — handy when many projects are open. (#58214; thanks KevinLaveto)
- Agent: Improved edit tool performance with a more succinct success response. (#59335)
- Agent: Improved scroll smoothness while a response is streaming. (#59002)
- Agent: Improved truncation of long configuration button labels for external agents. (#57808; thanks Bitaru)
- Agent: Added the
agent.terminal_init_commandsetting to automatically run a command when opening a new terminal thread in the agent panel. (#59374) - Agent: Pressing up in an empty agent message editor now brings back the last queued message for editing if there is one. (#58807)
- Improved agent panel markdown rendering: Single newlines within agent responses now render as line breaks, matching the convention used by GitHub comments and Obsidian. (#57376; thanks tredondo)
- Agent: Added the ability to grant agent terminal commands network access to specific hosts (rather than all-or-nothing), enforced by an allowlisting proxy. (#59220)
- Agent: Improved sandbox permission prompts to show the command being requested. (#59362, #59391)
- Agent: Improved agent terminal sandbox network permission handling. (#59385)
- Agent: Improved the agent panel's empty-state toolbar to show a "New {agent} Thread" placeholder title (or your draft prompt as you type), with a stable new-thread button on the right. (#59126)
- Added Anthropic-compatible provider support in settings. (#50381; thanks cppcoffee)
Git
- Added "View File" to the Git Panel context menu to open a changed file in the editor without a diff view. (#59383; thanks ahmedash95)
- Improved scrolling performance in diff views containing large hunks. (#58658)
- Improved placeholder copywriting in both the branch and worktree pickers to communicate it's possible to type-to-create each. (#59130)
- Improved the toast shown after
git: pushto always display the "Create Pull Request" button. (#53913) - Improved performance of git HEAD state resolution. (#59044; thanks lgeiger)
- Improved performance of git uncommit. (#59069; thanks lgeiger)
- Improved performance of listing git remotes. (#59053; thanks lgeiger)
- Improved performance of retrieving default git branch. (#59087; thanks lgeiger)
- Reduced git processes run on every file change. (#59042; thanks lgeiger)
- Reduced number of git operations when repository state changes outside of Zed. (#59318; thanks lgeiger)
Languages
- Prettier now reads the project's
.editorconfigfiles when formatting. (#59149; thanks matt-h) - REPL: Added a Stop button to notebook cells to interrupt the running kernel while a cell is executing. (#57093; thanks raideno)
Remote Development
- Added a
dev_container_use_buildkitsetting to build dev containers with the classic Docker builder for engines without an integrated BuildKit (e.g. Apple Container). (#59288; thanks tnayuki)
Other
- Added a
workspace: reset pane sizescommand that equalizes the sizes of all panes in the center group. (#59046; thanks 42piratas) - Added
editor: select inside delimitersandeditor: select around delimitersactions for selecting content within the nearest enclosing brackets, braces, parentheses, or quotes. Repeating the action expands the selection to the next enclosing pair. (#53789; thanks subeax) - Editor: Improved multi cursor editing performance. (#58510; thanks Rani367)
- Improved long filename truncation in the tab switcher and file finder so extensions remain visible. (#59072; thanks saberoueslati)
- Improved performance when searching in markdown preview. (#59473)
- Added the file icon to the breadcrumbs when the tab bar is hidden, if file icons are enabled for tabs. (#56267; thanks hron)
- Added a
zed: rebuild dev extensionaction to rebuild an installed dev extension from the command palette. (#55173; thanks tahayvr)
Bug Fixes
- ACP: Fixed failed permission requests for external agents. (#58537)
- ACP: Fixed Cursor Agent only being able to use Fast mode with Composer 2.5. (#59695)
- Sidebar: Fixed a flicker when clicking on an empty draft thread. (#59342)
- macOS: Fixed fallback fonts missing weight/style. (#56771)
- Fixed the "Loading Commit History..." message in the History tab being stuck on projects with empty or no repositories. (#58649; thanks Jeremy-Qian)
- Fixed
zed: open logandzed: reveal log in file manager
…