github zed-industries/zed v1.20.0-pre

pre-release2 hours ago

This week's release includes configurable window title formatting, support for configuring what is shown on new windows, a setting to open Markdown files directly in the rendered preview, and an optional cursor movement animation.

Shipped by the Zed Guild 🛡️

  • Added the on_new_window setting to choose whether new windows show the Launchpad (launchpad, the default) or an empty untitled buffer (empty_tab). (#63522; thanks albertbogusz)
  • Fixed ctrl-tab jumping to random documents when the mouse moved during a quick tab switch. (#52671; thanks OmChillure)
  • Fixed a crash in editor: rotate selections forward and editor: rotate selections backward when using cursors on nonconsecutive lines. (#63937; thanks timvermeulen)
  • Fixed language servers from other projects appearing in the LSP Logs view and their statuses showing in unrelated windows' status bars. (#61221; thanks aviatesk)
  • Fixed layout issues in the Settings UI for recently created GitHub accounts. (#63630; thanks tidely)
  • Fixed "View File History" when run from a diff view. (#63539; thanks albertbogusz)

Learn about the Zed Guild.

Features

AI

  • Added Gemini 3.8 Flash to the Google AI models. (#63643; thanks macayu17)
  • Improved recovery when OpenAI temporarily returns HTTP 404 errors. (#63705)

Git

  • Improved repository cloning by showing live progress in the activity indicator. (#63239; thanks itsfuad)
  • Improved Git Graph commit details to show the same full commit timestamp as the Date column. (#62679; thanks dem1tris)

Languages

  • Added Emmet's wrap with abbreviation support (editor: wrap with abbreviation). (#63383)
  • Added syntax highlighting for the C23 constexpr keyword. (#63833; thanks Jesse-Cooper)
  • Improved language server request routing to respect dynamically registered document selectors. (#59243; thanks aviatesk)
  • Improved Go syntax highlighting by distinguishing control-flow keywords from other keywords. (#63769; thanks Gami13)

macOS

  • Improved detection of worktree root path changes to use fewer file descriptors. (#63863)

Other

  • Added configurable window title formatting with the window_title_format and window_title_separator settings. (#54379; thanks jknlsn)
    • Currently supported variables are ${projectName}, ${fileName}, ${filePath}, ${relativePath}, ${branch}, ${remoteName}, ${remoteHost}, ${appName}, and ${separator}.
    • These settings will be populated when importing from VS Code's settings, if window.title and window.titleSeparator are set.
  • Added the markdown_preview.open_markdown_files_in_preview setting to open Markdown files directly in the rendered preview. (#63462; thanks joshkent94)
  • Added an optional cursor movement animation, enabled by setting cursor_animation.enabled to true. (#63195; thanks tiny-paris)
  • Added a status bar countdown for pending multi-stroke key bindings. (#63343)
  • Added a tooltip showing the file path when hovering over files and folders in the Project Panel. (#63299; thanks skmanoj322)
    • The tooltip can be disabled, or its delay configured, by changing the project_panel.title_tooltip_delay setting.
  • Improved multi-cursor editing performance. (#60605; thanks Rani367)
  • Improved installed size on macOS and Linux by stripping debug symbols from release binaries, making them roughly 25% smaller. (#63429)
  • Improved worktree scan performance by removing redundant executable checks. (#63190; thanks hamishc)

Bug Fixes

  • Fixed private files being shared with collaborators through project search. (#63860; thanks 39ali)
  • Fixed a settings key containing a quote or a backslash corrupting settings.json. (#62949; thanks interkelstar)
  • Fixed the Git Panel's History tab, commit search, branch diff, and opening a commit by ref failing when a branch name matched a path in the working tree. (#63666; thanks itsfuad)
  • Fixed Git Panel keybindings matching the Changes tab while the History tab was active. (#63689; thanks shindgew)
  • Fixed diagnostics from the previous language server staying on a file after changing its language. (#63460; thanks kjanat)
  • Fixed syntax highlighting for injected languages in strings containing interpolations. (#49265; thanks jeffbrennan)
  • Fixed a BasedPyright memory leak caused by incorrect workspace diagnostics polling. (#63336)
  • Fixed projects leaking via the Agent Panel. (#63765)
  • Fixed IME staying enabled in the Project Panel on Wayland when no text input was focused. (#63776; thanks Sha1rholder)
  • Fixed the debugger's "Copy Value" copying the truncated preview instead of the full value. (#63902; thanks 39ali)
  • Fixed the Keymap Editor's "Search by Keystrokes" shortcut, cmd-alt-f (macOS) and ctrl-alt-f (Linux/Windows), being shadowed by the file finder. (#63376; thanks dcdeniz)
  • Fixed valid multibyte Agent Skill descriptions being rejected for exceeding a byte-based length limit. (#63766; thanks cmdr-chara)
  • Fixed the Agent Panel appearing in the "View" menu when AI was disabled. (#63580; thanks shxmbles)
  • Fixed agent: manage skills appearing in the command palette when AI was disabled. (#63598; thanks kai-xlr)
  • Fixed case conversion commands deleting the line break when the selection ended at the start of the next line. (#63463; thanks 39ali)
  • Fixed ChatGPT subscription usage limits being reported as temporary OpenAI request throttling. (#63738)
  • Fixed collab language server requests cancelling each other. (#63736)
  • Fixed the deleted git-gutter marker becoming nearly invisible when git_gutter_width was set to a small custom pixel value. (#63434; thanks somtri)
  • Fixed double-clicking the title bar ignoring the macOS "Tiled windows have margins" setting when "Double-click a window's title bar" was set to "Fill". (#63759; thanks RomainDW)
  • Fixed hints for branch and worktree deletion, keybinding conflicts, and edit predictions referring to Alt instead of Option on macOS. (#63807; thanks humdrum00001010)
  • Fixed joining lines removing a leading * from code outside block comments, such as pointer dereferences. (#63916)
  • Fixed long ask_user options being truncated instead of wrapping in the Agent Panel. (#63656; thanks cmdr-chara)
  • Fixed Markdown preview headings not rendering at their configured weight. (#63465; thanks archcorsair)
  • Fixed Node tool installations failing or completing partially when packages listed native bindings as optional dependencies. (#52451; thanks KuSh)
  • Fixed the "Organization" section rendering empty in the title bar menu when signed out. (#63728; thanks RadhiRasho)
  • Fixed the preview_tabs.enable_preview_from_project_panel setting being ignored when opening files from the Project Panel with the keyboard. (#63758; thanks cmdr-chara)
  • Fixed the remote projects picker not closing when opening a folder on a remote server. (#63628; thanks mateioprea)
  • Fixed unintended whole-canvas selection when long-pressing in GPUI web applications on iOS. (#63877)
  • Fixed Vim's o not continuing the comment prefix inside C-style multiline comments. (#63751; thanks IbrahimKhan12)

Breaking Changes and Notices

  • Changed the Agent Panel to copy plain text with cmd-c (macOS) and ctrl-c (Linux/Windows) instead of Markdown. Copying as Markdown moved to the context menu, and the markdown::CopyAsMarkdown action can still be bound. (#63884)
  • Moved the Markdown Preview font settings under the markdown_preview key as font_size, font_family and code_font_family. Existing settings are migrated automatically. (#63462; thanks joshkent94)

Don't miss a new zed release

NewReleases is sending notifications on new releases.