github zed-industries/zed v0.228.0-pre

pre-release9 hours ago

This week's release includes the ability to easily ask the agent to resolve merge conflicts, @-mentioning your branch diff to provide all changes since main as context, removing/renaming worktrees over SSH, and deleting worktrees via the branch picker.

Features

AI

  • Agent: Added ability to @-mention your branch diff to include all changes since main as context. (#51235)
  • Agent: Enabled thinking mode when using Anthropic models with Copilot. (#46540)
  • Agent: Added Paste as Plain Text to the agent panel message editor right-click menu. (#50625)
  • Agent: Added api_url and api_key settings for the LM Studio provider. (#48309; thanks SkyVence)

Git

  • Added the ability to quickly resolve merge conflicts with the agent. (#49807)
  • Added the ability to delete a git worktree from the worktree picker (cmd-shift-backspace on macOS, ctrl-shift-backspace on Linux/Windows). (#50015; thanks davidalecrim1)
  • Added support for removing and renaming worktrees when connected via SSH. (#50759)
  • Added a git: restore and next action that restores the diff hunk at the cursor and conditionally moves to the next one. In the git diff view, the default restore keybinding (cmd-alt-z on macOS, ctrl-k ctrl-r on Linux/Windows) now triggers this action instead of git: restore. (#50324)

Other

  • Markdown Preview: Improved speed at which markdown lists update after checking or unchecking items. (#48633; thanks wesleynw)
  • Extensions: Added kernel_language_names field for declaring Jupyter kernel language aliases in language configs. (#49762; thanks rgbkrk)
  • Extensions: Added API for extensions to provide settings schemas, enabling autocompletion for language server settings. (#48334; thanks aviatesk)

Bug Fixes

  • Windows: Fixed opening files with names like main (1).log. (#50770; thanks hagz0r)
  • Windows: Fixed IME intercepting keystrokes in Vim normal and visual modes. (#51041)
  • Windows: Fixed environment variables failing to load when project paths contain single quotes. (#50782; thanks AmaanBilwar)
  • Agent: Fixed an issue where the Copy Command button would not appear on hover for terminal tool calls. (#51191; thanks OmChillure)
  • Agent: Fixed an issue where shift-enter would insert a newline at the end of the text instead of the cursor position when using certain keymaps. (#47595; thanks dastrobu)
  • Agent: Fixed an issue where shared agent thread URLs would not open. (#50915)
  • Terminal: Fixed drag-and-drop not working in vertical terminal panels. (#49825; thanks claiwe)
  • Debugger: Fixed Python string values displaying escape sequences instead of actual characters. (#50554)
  • Markdown Preview: Fixed code block scrollbars flashing on vertical scroll. (#50817; thanks cppcoffee)
  • Markdown Preview: Fixed parser options being enabled collectively instead of individually, which caused rendering issues. (#50440)
  • Extensions: Fixed overflowing of author's list. (#51045; thanks francesco-gaglione)
  • Fixed the Expand All Files/Collapse All Files button in the project diff view. (#50859)
  • Fixed project panel: reveal in file manager to work even when no project panel entry is selected. (#50866; thanks loadingalias)
  • Fixed a panic in lsp_symbols_at_cursor when dealing with diff hunks. (#51077)
  • Fixed a panic in LiveKit when joining a channel using legacy audio with a device that has fewer or more than 2 channels. (#51276)
  • Fixed a potential crash when deleting SSH servers too eagerly. (#51091)
  • Fixed a source of underflowing subtractions causing spurious panics. (#51078)
  • Fixed ability to select audio input/output devices for legacy (non-experimental/rodio-enabled) audio. (#51128)
  • Fixed agent panel stealing keyboard focus from modals during workspace restoration. (#50511; thanks Dnreikronos)
  • Fixed an issue in the Project Panel where conflicting file moves could overwrite each other instead of leaving the losing file in place. (#51090)
  • Fixed an issue where "autosave": "on_focus_change" would not reliably work in multibuffers. (#50686; thanks OmChillure)
  • Fixed an issue where buffer content could become stale after undoing edits when an external tool wrote to the file while the buffer was dirty. (#51037; thanks lex00)
  • Fixed an issue where newlines could be inserted into read-only editors. (#50804)
  • Fixed clicking on non-selectable picker entries (e.g. section headers) confirming the currently selected item. (#50705; thanks Dnreikronos)
  • Fixed conda environment not auto-activating in the terminal during remote development sessions. (#50895; thanks lingyaochu)
  • Fixed detection of when pylsp is not installed properly on a user's system so that it doesn't get launched as an LSP when it doesn't exist. (#51034; thanks rgbkrk)
  • Fixed missing labels for ty completion items in remote development. (#50697; thanks lingyaochu)
  • Fixed crash reporter metadata collection. (#50728)
  • Fixed crash when trying to join a channel/test audio on Nix-built Zed on Linux. (#50743)
  • Fixed default settings and default key bindings reopening duplicate tabs instead of reusing the existing tab. (#51053; thanks ishaksebsib)
  • Fixed docs search results scrolling with arrow keys. (#50901; thanks implabinash)
  • Fixed mouse cursor disappearing when clicking a changed file in the Git Changes panel. (#51016)
  • Fixed project panel empty area showing a non-functional scrollbar; scrolling now works from anywhere in the panel. (#50683; thanks virajbhartiya)
  • Fixed some error messages in OpenAI/Copilot Chat conversations that were using the Debug representation. (#50824)
  • Fixed terminal ctrl-click path detection failing when path is preceded by a prefix like 0:. (#50663; thanks xcb3d)
  • Fixed the View AI Settings button being visible on the Welcome page despite AI features being disabled in settings. (#50941; thanks OmChillure)
  • Fixed Zed connecting to MCP servers when AI is disabled. (#47857; thanks oliverbarnes)
  • Fixed editor: toggle comments to include a trailing space in Git Commit, Go Mod, and Go Work files. (#51033; thanks injust)
  • Fixed formatter: "auto" silently failing instead of trying other language servers when the first one doesn't support formatting. (#50661; thanks Dnreikronos)
  • Fixed links being highlighted when pressing modifier keys while the mouse cursor is hidden. (#50424; thanks nishanthkarthik)

Breaking Changes and Notices

  • Agent: Removed deprecated Gemini 3 Pro Preview model; existing configurations automatically migrate to Gemini 3.1 Pro. (#50503)
  • Changed auto_indent setting to support three modes: full (syntax-aware indentation), preserve_indent (keeps current line's indentation), and none (no automatic indentation). (#47751; thanks oliverbarnes)

Don't miss a new zed release

NewReleases is sending notifications on new releases.