Software 43918 Published by

Zed editor v0.197.3 has been released, featuring Magistral support for Ollama, a screen selector dropdown for screen sharing, an option to disable AI features, automatic retries on failed requests in the Agent panel, specifications for accessing debugger data breakpoints, enhancements to the keymap editor, and a new action to compare the current selection with the clipboard contents. The update incorporates support for various OpenAI API-compatible providers, enhancements to Bedrock streaming, and an option to disable all AI features.

The agent panel now automatically retries failed requests under additional circumstances, and the edit tool can access files outside the current project only with user permission. The Git panel has undergone enhancements, and the experience with git --amend has also been refined. Recent updates address several issues, including resolving a crash that occurs when transitioning from a message to a thread within the context, correcting keybindings for new threads and text threads, and enhancing the resizing experience on Wayland/Linux.





Zed v0.197.3

This week's release includes Magistral support for Ollama, a screen selector dropdown for picking which screen to share when collaborating through Zed, an option to disable all AI features in Zed, automatic retries on more failed requests in the Agent panel, debugger data breakpoint access type specification, improvements to the keymap editor, and a new action to diff the current selection against the clipboard contents.

Features

  • Added screen selector dropdown to screen share button. ( #31506)
  • Added 25+ keybinds to the macOS and Linux/Windows JetBrains compatibility keymaps. ( #34641)
  • Added panel.sticky_entry.background theme selector for modifying project panel entries when they become sticky when scrolling and overlap with entries below them. ( #34655; thanks  bcomnes)
  • Added none as one of the values for snippet_sort_order to completely disable snippet completion. ( #34565; thanks  zeux)
  • Keymap Editor: Made keystroke search matches match based on ordered (not necessarily contiguous) runs. For example, searching for cmd shift-j will match cmd-k cmd-shift-j alt-q and cmd-i g shift-j but not alt-k shift-j or cmd-k alt-j.

Agent

  • The Agent panel now automatically retries failed requests under more circumstances. ( #34842)
  • Added support for adding multiple OpenAI API compatible providers. ( #34212)
  • Added the use_modifier_to_send setting, which makes holding a modifier (cmd/ctrl), together with enter, required to send a new message. ( #34709 #34866)
  • Improved Bedrock streaming by eliminating response buffering delays. ( #33931; thanks  tiagoq)
  • Added setting to disable all AI features ("disable_ai": true). ( #34896)
  • Agent: Added magistral support to ollama. ( #35000; thanks  @versecafe)
  • Agent: Added support for magistral-small and magistral-medium. ( #34983)
  • Agent: Added support for Mistral Devstral Medium. ( #34888)
  • Agent: Context servers will now be spawned in the currently active project root. ( #35271)
  • Agent: The edit tool can now access files outside the current project, but only if the user grants it permission to. ( #35221)
  • LMStudio: Display specific backend error messaging on failure rather than generic ones ( #34538)

Debugger

  • Added support for Go subtest runner with raw string names. ( #34636; thanks  Spissable)
  • Added support for specifying a data breakpoint's access type - Read, Write, Read & Write. ( #34639)

Git

Vim

  • Added ; key binding to collapse the current text selection in Helix mode. ( #34315; thanks  djsauble)
  • Added editor::BlameHover action for showing the git blame popover under the cursor. By default bound to ctrl-k ctrl-b and to g h in vim mode. ( #32096; thanks  Daste745)

Languages

  • Improved indentation during typing for C/C++ around if/for/while/do blocks. ( #34549; thanks  zeux)

Bug Fixes

  • Agent: Fixed a crash that occurred when jumping from a message to a thread included in the context. ( #34843)
  • Agent: Fixed an issue where clicking on "Start New Thread" in the agent configuration would not always switch to the correct provider/model. ( #34708)
  • Agent: Fixed a regression where the keybindings for the New Thread and New Text Thread entries were missing from the New Thread... menu. ( #34967)
  • Debugger: Fixed debug console persist to history when reusing a previous item. ( #34893; thanks  RemcoSmitsDev)
  • Debugger: Fixed built-in JavaScript debug tasks were not working due to missing type field value. ( #34894; thanks  RemcoSmitsDev)
  • Debugger: Fixed attaching with DebugPy. DebugPy is now installed automatically from pip (instead of GitHub), unless it is present in active virtual environment. Additionally this should resolve any startup issues with missing .so on Linux. ( #34706)
  • Vim: Fixed an issue so ctrl-w / ctrl-h and ctrl-u work in pickers on Linux when Vim mode is enabled. ( #34840)
  • Linux: xkb-defined hotkeys for arrow keys should behave as expected. ( #34823; thanks  stillonearth)
  • Linux: Fixed an issue where button clicks wouldn't work on startup until clicked on the center pane. ( #34590)
  • Wayland/Linux: Made resizing smoother on Wayland/Linux. ( #34760; thanks  sethdusek)
  • Fixed search filter patterns on remote projects. ( #34748; thanks  maan2003)
  • Fixed an issue where closing remote workspace restores last local workspace on startup. ( #34931)
  • Fixed an issue where the last removed folder from workspace used to reopen on Zed startup. ( #34925)
  • Fixed empty pane being left after a binary file is dropped into a new pane. ( #34908)
  • Fixed an issue where redo would not work after buffer formatting (including formatting on save) when the formatting did not result in any changes. ( #34898)
  • Fixed textmate keymap misbehaving in certain contexts. ( #34895)
  • Fixed an issue where scrollbars would appear in containers where no scrolling was possible. ( #34832)
  • Fixed workspace: open in terminal action not working with paths that contain spaces in SSH projects. ( #34844)
  • Fixed an issue where accepting variable completion in PHP would result in a double $ sign in the prefix. ( #34726)
  • Fixed an issue where the cursor doesn't move up and down on arrow keys when no completions are shown. ( #34678)
  • Fixed the issue where the green (+) cursor style sometimes appears when navigating to the definition in buffer. ( #34638)
  • Fixed regressions with loading environment variables in nushell ( #35002 #35054)
  • Fixed project panel not opening when project panel: rename and project panel: duplicate actions are triggered from workspace. ( #34988)

Breaking Changes and Notices

  • The context predicates in the keymap file now handle ! and > differently. Before this change ! meant "this node does not match", now it means "none of these nodes match". Before this change > meant "child of", now it means "descendent of". We do not expect these changes to break many keymaps, but they may cause subtle changes for complex context queries. ( #34664)
  • Renamed CloseInactiveItems action to CloseOtherItems for naming consistency. ( #34676)

Screenshot_from_2025_05_07_08_03_17

v0.197.3