github zed-industries/zed v1.21.0-pre

latest release: nightly
pre-release5 hours ago

This week's release includes faster rendering in syntax-highlighted files and Markdown code blocks, a language server command picker, and a setting that keeps your system awake during long-running agent turns.

Shipped by the Zed Guild 🛡️

  • Fixed a bug where folders remained highlighted after they stopped being dragged. (#64038; thanks tidely)

Learn about the Zed Guild.

Features

AI

  • Added SuperGrok sign-in so SuperGrok subscribers can use Grok models in the Agent Panel. (#63248; thanks thibaudgg)
  • Added the agent.prevent_idle_sleep setting, enabled by default, to prevent idle system sleep while agent threads are running. (#53130; thanks cppcoffee)
  • Added support for DeepSeek Flash 4.1. (#64014; thanks cppcoffee)
  • Added the agent.threads_sidebar_default_width setting to configure the width of the Threads Sidebar. (#62883; thanks porada)
  • Added the agent: rename selected thread action for renaming the active Terminal Thread from the Agent Panel. (#63660; thanks mauriciord)
  • Improved ACP compatibility and async task wakeup handling. (#64077)

Git

  • Added Cut, Copy, and Paste context menu actions to the commit message editor. (#64142; thanks hooch)

Languages

  • Added a language server command picker and support for language servers to open files and URLs with showDocument requests. (#63607)
  • Added a prompt to install the Emmet extension when opening files in Emmet-supported languages. (#63750)
  • Added support for running language-server actions directly from actionable inlay hints. (#63605)
  • Improved rendering performance for Markdown code blocks in the Agent Panel, hover popovers, and Markdown preview. (#63138)
  • Improved development extension compilation by automatically replacing outdated WASI SDK installations. (#63816; thanks jkbz64)

Other

  • Added a comment_empty_lines parameter to the editor::ToggleComments keybinding action for multiline selections. Set it to true to comment blank lines or false to skip them; Zed's default keymap now uses true, while the VS Code keymap uses false. (#63961; thanks UdeshyaDhungana)
  • Added editor.code_lens.foreground for customizing CodeLens text independently. (#64084; thanks giorgiopogliani)
  • Added support for "..." in read_only_files so project settings can extend inherited read-only patterns. (#64222; thanks porada)
  • Added menu (Linux and Windows) and shift-f10 (all platforms) shortcuts to open the context menu for the selected Project Panel entry. (#46744; thanks CCXLV)
  • Improved the command palette with controls to remove recent commands, including shift-backspace, and added the command_palette.use_command_history setting to disable history-based ranking. (#64181)
  • Improved editor rendering performance in syntax-highlighted files, especially with the minimap enabled. (#63145)

Bug Fixes

  • Fixed a bug where restored macOS windows reopened on the currently active Space instead of their original Space. (#58886; thanks tnayuki)
  • Fixed auto-compaction thresholds for GitHub Copilot models with a prompt limit below their context window. (#64195)
  • Fixed the Inline Assistant failing to select an available fallback model when no default model was configured. (#63963; thanks hferreiro)
  • Fixed a bug on macOS where moving the pointer over another app could trigger hover effects in a Zed window underneath it. (#64234)
  • Fixed a bug where deleted files appeared outside the file tree in the Outline Panel when viewing a diff. (#63570; thanks FrantisekGazo)
  • Fixed a crash during Python interpreter discovery when an executable emitted non-UTF-8 output. (#64040)
  • Fixed a crash when pasting in an expanded deleted diff hunk in Helix mode. (#64245)
  • Fixed a Linux startup crash when local XKB keyboard-definition files were unavailable. (#64113)
  • Fixed Anthropic credit exhaustion being classified as a malformed request instead of a payment issue. (#63988)
  • Fixed canceled external file drags on Linux Wayland sometimes remaining active and causing later clicks to copy the dragged file. (#64122; thanks itsfuad)
  • Fixed compilation of development extensions on Windows ARM64. (#63816; thanks jkbz64)
  • Fixed compilation of development extensions with large Tree-sitter grammars. (#63816; thanks jkbz64)
  • Fixed data-retention consent checks for hosted counting and compaction requests. (#64194)
  • Fixed diff statistics to use the theme's version-control colors for added and deleted line counts. (#64083; thanks kvechkanov)
  • Fixed font suggestions listing unavailable fallback fonts and internal font aliases. (#64095)
  • Fixed intermittent "database is locked" errors when sharing a database across Zed instances. (#63923; thanks whitecat1331)
  • Fixed Ollama being unable to access images returned by tool calls. (#64121; thanks marius851000)
  • Fixed payment errors from non-Zed model providers incorrectly prompting users to upgrade to Zed Pro instead of displaying the original provider error message. (#64094)
  • Fixed Project Panel reveal not working in Git diff-related multibuffers. (#64154)
  • Fixed Python decorator syntax highlighting conflicting with the matrix multiplication operator. (#58077; thanks allachance)
  • Fixed remote server removal prompts not capturing keyboard focus. (#60965; thanks cfiq)
  • Fixed terminal tool output in the Agent Panel to consistently use the theme's terminal.background color. (#64163; thanks chrisdrackett)
  • Fixed the gutter tooltip's modifier-click hint after holding Command. (#64124; thanks GautamBytes)
  • Fixed the Project Panel failing to scroll to collapsed parent folders. (#64207)

Don't miss a new zed release

NewReleases is sending notifications on new releases.