github zed-industries/zed v0.223.0-pre

pre-release4 hours ago

This week's release includes support for multiple edit prediction providers (GitHub Copilot's Next Edit Suggestions, Ollama, Codestral, Sweep, and Mercury Coder), the ability to open the Agent Panel with an initial prompt via URL, sending terminal selections into Agent threads, automatic blocking of dangerous Agent commands like rm -rf /, Azure as a Git provider, GitLab merge request links in git blame hover popover, and right-click downloading of files and folders from remote development servers.

Features

AI

  • Edit Prediction: Added support for multiple edit prediction providers, including GitHub Copilot's Next Edit Suggestions, Ollama, Codestral, Sweep, and Mercury Coder. To configure, open the Edit Prediction menu and select Configure Providers.
  • Agent: Added support for opening the Agent Panel with an initial prompt via zed://agent?prompt=<url_encoded_text> URL. (#47959)
  • Agent: Added the ability to send selections from terminals into the Agent thread. (#47637; thanks rutgercap, #47950)
  • Agent: Improved the Copy Selection right-click menu item by disabling it when there are no selections. (#47997; thanks cppcoffee)
  • Agent: Added automatic blocking for certain known-bad tool uses, such as the terminal tool attempting to run rm -rf / or rm -rf ~. (#48209)
  • Agent: Improved wording of confirmation label text in agent thread. (#48202)
  • Agent: Improved Zed agent thread history to update across all open windows. (#47803)
  • Agent: Added a settings page in the settings editor that allows customizing tool call permissions for each tool. (#48277)
  • ACP: Added support for ACP Session Config options for agents which provide them. (#48350)

Git

  • Added support for GitLab merge request links in git blame hover popover. (#47973; thanks littleKitchen)
  • Added Azure as a supported Git provider. (#47598; thanks marcocondrache)
  • Added support for double-clicking a file in the Git Panel's status list to open it in the editor. (#47989; thanks cppcoffee)
  • Added a MultiDiffView, which shows all changed files within a single, scrollable view. (#45131; thanks davidbarsky)
  • Changed zed --diff to recurse into directories when given folders instead of files. (#45131; thanks davidbarsky)

Languages

  • Go: Added highlighting for directives. (#47621; thanks ozacod)
  • Python: Improved the Add Virtual Environment path browser to start at the workspace root. (#47988)
  • YAML: Improved highlights to support quoted keys. (#48063; thanks ozacod)

Terminal

  • Added current_file_directory option for terminal's working_directory setting. Set "working_directory": "current_file_directory" to open new terminals in the directory of your currently open file. (#47739; thanks RubenFricke)

Remote Development

  • Added right-click download option for folders/files stored in remote development server. (#47344; thanks leoliu0605)
  • Added detection of devcontainers in subfolders. (#47411; thanks caiopiccirillo)
  • Improved error messaging and handling in the event of a dev container launch failure. (#48301; thanks KyleBarton)

REPL

  • Added configurable max height and width limits for REPL output, with large outputs scrolling and images scaling to stay within the viewport. (#47114; thanks cvanelteren)
  • Added JSON output support. (#47905; thanks rgbkrk)

Other

  • Added memory usage display for each language server in the language servers menu. (#48226)
  • Added a copy button to error message popups. (#48107; thanks deralaxo)
  • Added support for dismissing the toolchain path selector via esc. (#48201)
  • Improved autocomplete for the project settings file (.zed/settings.json) to only include settings that are valid at the project level, excluding user-only settings. (#47939)
  • Improved project search performance by reducing excessive CPU context switching when scanning files. (#47824; thanks cppcoffee)
  • Changed Zed's built-in file picker to show all hidden files by default. (#46965; thanks austincummings)

Bug Fixes

  • Agent: Fixed a crash in the Agent Panel when inserting context mentions with emojis in the message editor. (#48179)
  • Edit Prediction: Fixed accepting next word and next line edit prediction keybindings colliding with cursor movement keybindings. (#48184)
  • Copilot: Fixed Copilot instances not being cleared up after their window is closed. (#48191)
  • Copilot: Fixed a bug where the Copilot edit prediction provider would still provide suggestions even when the disable_ai setting was enabled. (#48191)
  • Collab: Fixed overflowing text in project sharing and call notifications. (#47964)
  • Git: Fixed "View on GitHub" button incorrectly appearing when viewing stashes. (#48271; thanks amtoaer)
  • Git: Fixed a visual bug in the Git Panel where collapsing a folder in tree view would cause indent guide lines to incorrectly extend to unrelated folders below it. (#48194)
  • Git: Fixed an issue where stage/unstage could fail when operating on a very large number of files. (#47800; thanks marcocondrache)
  • Git: Fixed git panel not updating after commit or branch switch on Linux with git worktrees. (#47222; thanks feeiyu)
  • Git: Fixed GitHub avatar rate limiting in git blame by using CDN endpoint instead of API calls. (#47894; thanks Augani)
  • Git: Fixed optimistic placeholder for folders in the tree view. (#48078; thanks RemcoSmitsDev)
  • Settings UI: Fixed editable project settings not being updated when a new workspace is created. (#47992)
  • Vim: Fixed search not respecting "search" default settings. (#48127; thanks cppcoffee)
  • Vim: Fixed method and comment navigation (] m, [ m, ] shift-m, [ shift-m, ] /, [ /) incorrectly positioning cursor when diff hunks are expanded. (#47976; thanks lex00)
  • REPL: Fixed cursor becoming invisible on the last line of REPL cells after re-running. (#48218; thanks MostlyKIGuess)
  • REPL: Fixed REPL output wrapping for large content. (#47713; thanks rgbkrk)
  • REPL: Fixed markdown wrapping in REPL outputs. (#47713; thanks rgbkrk)
  • Fixed a bug where directories could be missing from the Select Toolchain Path path picker. (#47983)
  • Fixed an issue where "Reopen Closed Item" would fail to reopen tabs that had been converted from preview to non-preview before being closed. (#45286; thanks errmayank)
  • Fixed an issue where opening a link to a settings item that involved a sub page would not open the sub page. (#48212)
  • Fixed an issue where relative time deltas would sometimes show as n + 1 years instead of the actual n years. (#47687)
  • Fixed an issue where the Zed keybinding context would show up as a language in the language selector. (#48354)
  • Fixed issue where certain keywords were incorrectly highlighted in TSX files. (#48196)
  • Fixed clicking on tables in the markdown preview not selecting the correct content. (#47720; thanks cppcoffee)
  • Fixed modal for creating dev container. (#48291; thanks KyleBarton)
  • Fixed remote_user and shell inconsistencies from within dev containers. (#48230; thanks KyleBarton)
  • Fixed Rust panic breakpoints not working in debugger when using CodeLLDB with non-Cargo debug configurations. (#48236; thanks littleKitchen)
  • Fixed subdirectory .editorconfig files being ignored in certain directory structures. (#48203; thanks amtoaer)
  • Fixed TypeScript type import highlighting. (#47190; thanks purepear)
  • Fixed a bug where the cursor would not return to its original position when dismissing buffer search with Escape in vim mode. (#47732; thanks lex00)
  • Fixed "too many file descriptors" error on macOS. (#47952)
  • Fixed a bug where the terminal cursor would stretch beyond cell width. (#45545; thanks tacshi)
  • Fixed connecting to WSL when fish is set as the default shell. (#48136; thanks apedersen00)

Don't miss a new zed release

NewReleases is sending notifications on new releases.