github zed-industries/zed v0.208.0-pre

latest releases: gpui-v0.2.0, v0.208.1-pre, v0.207.3...
pre-release12 hours ago

This week's release includes significant performance improvements for the project panel when working in large projects, support for action sequences in keymap bindings allowing you to chain multiple actions together, support for HTML tables and HTML block quotes in Markdown preview, more image types supported in the agent panel, and support for the outline in channel notes.

Features

AI

  • Agent: Added support for pasting TIFF and BMP images in the agent panel. (#39767)
  • Agent: Introduced the agent_buffer_font_size setting and renamed agent_font_size to agent_ui_font_size, allowing for granular buffer font size control in the agent panel vs. regular editors. (#39468)
  • Agent: Aligned default shell path in system prompt with the actual path it is given. (#39344)

Git

  • Added git status indicator icon in the title bar. Note: this is only visible when the following setting is applied: "title_bar": {"show_branch_icon": true}. (#38029; thanks lzakharov)

Languages

  • Rust: Added comment injections. (#39714)
  • Markdown Preview: Added support for HTML tables and block quotes. (#39755, #38605; thanks RemcoSmitsDev)
  • Markdown Preview: Stylized links using accented text color. (#39149; thanks Simek)

Other

  • Added support for action sequences in keymaps. (#39261). Example: "cmd-alt-a": ["action::Sequence", ["editor::SelectLargerSyntaxNode", "editor::Copy", "editor::UndoSelection"]]
  • Project Panel: Revamped how project panel entries are refreshed, which should lead to a significantly smoother experience when working in large projects. (#38881)
  • Project Panel: Improved behavior where unfocusing while creating a new file or directory in the project panel now creates it instead of discarding it. (#39716)
  • Enabled the outline modal to work in channel notes. (#39481)
  • Improved Collab panel by showing display names and GitHub handles. (#39384)
  • Added SelectPrevious and SelectAllMatches items to the Selection app menu. (#39262; thanks sir-geronimo)
  • Added graceful autohiding to scrollbars outside of the editor. (#39225)
  • Added support for icons on file extensions such as stories.tsx and stories.svelte. (#36342; thanks jacobtread)
  • Added Close Multibuffers pane context menu entry. (#39199)
  • Improved the horizontal padding on the extensions tab. (#39627)
  • Improved worktree FS event emits in gitignored directories. (#39557)
  • Improved opening a buffer to automatically update the active repository. (#36796; thanks rufevean)
  • Improved visibility of inline color preview borders. (#39353; thanks huacnlee)
  • Added an experimental setting "status_bar": { "experimental.show": false} to hide the status bars. (#39430; thanks mansoorkhan96)
  • Added a granted_extension_capabilities setting to control the capabilities granted to extensions. (#39472)

Bug Fixes

  • macOS: Fixed an issue where keyboard shortcuts wouldn't work until you clicked inside Zed. (#39467)
  • macOS: Fixed Do Nothing window double click setting not being respected. (#39311; thanks mkozjak)
  • Linux: Fixed an issue on Linux X11 where pressing Enter added a new line instead of confirming English input. (#39599)
  • Windows Beta: Fixed handling of AltGr to avoid keybinds preventing character input. (#38925; thanks Sh4rK)
  • Windows Beta: Fixed an issue where WSL terminals could not be split. (#39552; thanks marcocondrache)
  • Windows Beta: Fixed clangd switch source header action failing on WSL. (#39598)
  • Windows Beta: Fixed remote shell on WSL being trimmed to its file name. (#39555)
  • Windows Beta: Fixed WSL connection failing if user's shell prints to stdout on startup. (#39357)
  • Vim: Fixed an edge case with the % motion, where the cursor could end up in a closing HTML tag instead of the matching bracket. (#39620)
  • Vim: Fixed block cursor not respecting font features (like ligatures). (#39474; thanks ratazzi)
  • Vim: Fixed handling of soft wrapped lines in visual block mode. (#39355)
  • Agent: Fixed external agent servers sometimes being spawned when Zed started even when AI was disabled. (#39649)
  • Agent: Fixed a bug in Claude Code threads where the plan summary text would overflow beyond its container. (#39603)
  • Agent: Fixed Claude Code agent login on remotes. (#39493)
  • Rust: Fixed rust-analyzer startup issue in single-file worktrees. (#39441; thanks timvermeulen)
  • Git: Fixed git features not working when git was installed in an unusual location. (#39302)
  • Fixed an issue where opening a remote terminal failed on systems like BusyBox, Alpine, Amazon Linux 2, some CentOS images, etc., due to an invalid option C. (#39715)
  • Fixed empty lines when collapsing files with diagnostics in the diagnostics panel. (#39459; thanks vmotta8)
  • Fixed a rare issue where scrollbars would react to and capture events they should not react to. (#39690)
  • Fixed a panic that could occur when using sort_by_path: true in the git panel. (#39678)
  • Fixed file finder not floating. (#39154; thanks AlvaroParker)
  • Fixed an issue where zed bin was not found in remote servers for askpass. (#39475; thanks marcocondrache)
  • Fixed infinite loop when worktree was deleted. (#39637)
  • Fixed project panel not properly focusing when clicking empty space, preventing keyboard shortcuts from working. (#39489; thanks ddoemonn)
  • Fixed panic when requesting completions after a multibyte character. (#39561)
  • Fixed NFD/NFKD normalized text (e.g., é as e + ◌́) not rendering in integrated terminal. (#39526; thanks ratazzi)
  • Fixed panic in delete line when following line contains multibyte characters. (#39560)
  • Fixed terminal split pane opening in wrong directory instead of preserving the current working directory. (#39537; thanks iamngoni)
  • Fixed editor: fold at level closing regions containing selections. (#39396)
  • Fixed ssh remote not working if the default shell profile prints to stdout. (#39451)
  • Fixed IME inputs breaking when typing at the end of an editor. (#39436)
  • Fixed a race where autosave in a multibuffer could cause unsaved buffers to appear saved. (#39409)
  • Fixed rendering glitches with files with more than 16 million lines (that occurred due to floating number rounding errors). (#39367)
  • Fixed an issue in multi-repo workspaces where files with the same name were hidden in the file picker after one was opened. (#39304; thanks marcocondrache)
  • Fixed "secondary" background on rules panel. (#39319; thanks AlvaroParker)
  • Fixed the user (top-right) dropdown not showing when you're not signed in. (#39296)

Windows Beta

  • If installed, agents will now use git bash over PowerShell when invoking terminal commands. (#39466)

Breaking Changes and Notices

  • Settings: Removed support for having format steps in both the format_on_save and formatter settings for languages. format_on_save is now restricted to the values of "on" and "off", and all format steps should be set under the formatter key. If you were using format_on_save but not formatter this will be migrated for you, otherwise it will require a manual migration. (#39400)

  • Settings: Changed code action format in formatter and format_on_save settings. (#39375)

    Previous format:

    {
      "code_actions": {
        "source.organizeImports": true,
        "source.fixAll": true
      }
    }
    

    New format:

    [
      {"code_action": "source.organizeImports"},
      {"code_action": "source.fixAll"}
    ]
    

    After #39246, code actions run sequentially in order. The structure now reflects this and aligns with other formatter options (e.g., language servers).
    Both the formatter settings will be auto-migrated.

  • Zed will no longer use node from your $PATH if it's older than 22.x (previously, the minimum version was 20.x). Instead, it will fall back to its bundled node. This fixes being unable to use Copilot if an older node was installed system-wide. (#39632)

Don't miss a new zed release

NewReleases is sending notifications on new releases.