v0.223.0-pre
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 Predictionmenu and selectConfigure 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 Selectionright-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 /orrm -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 --diffto recurse into directories when given folders instead of files. (#45131; thanks )
Languages
- Go: Added highlighting for directives. (#47621; thanks ozacod)
- Python: Improved the
Add Virtual Environmentpath browser to start at the workspace root. (#47988) - YAML: Improved highlights to support quoted keys. (#48063; thanks ozacod)
Terminal
- Added
current_file_directoryoption for terminal'sworking_directorysetting. 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 )
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_aisetting 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)