The editor enhances the ZED_WORKTREE_ROOT fallbacks for Zed tasks, optimizes the performance of rendering multibuffers with a significant number of buffers, and updates the bundled JSON schemas for package.json and tsconfig.json. This feature enables users to configure the default Vim mode, addresses the issue of back quotes not being recognized as objects, and introduces the editor::OrganizeImports action to streamline the organization of imports for compatible LSPs. It additionally accommodates clickable file paths formatted in the Odin language.
Recent updates address the correction of inaccurate colors in git hunk indicators, ensure images are displayed with a maximum width of 100%, and resolve issues related to the ansible-language-server sending phantom diagnostic updates. Furthermore, it addresses buffer search options, active_pane_modifiers settings, search input regex highlighting, Zed.log, Rust test tasks, markdown preview not refreshing upon acceptance of an edit prediction, Cyrillic characters in languages such as Swift, Bedrock model provider, active diagnostics, system hangs, and language models.
Here the full announcement:
Zed Release v0.177.7
Zed now has built-in Git support!
You can view your diff, stage changes, commit, and push from within the editor. For more information, check out the blog post.
EnhancementsAdded support forstop_at_indent
toEditor::DeleteToBeginningOfLine
. (Thanks @felixpackard) Added support to unfold multibuffer excerpts when editing their contents. (#25677) Added a way to toggle inlay hints with modifiers. (#25752)"inlay_hints": { /// A set of modifiers which, when pressed, will toggle the visibility of inlay hints. /// If the set is empty or not all the modifiers specified are pressed, inlay hints will not be toggled. "toggle_on_modifiers_press": { "control": false, "shift": false, "alt": false, "platform": false, "function": false } }Addedcopy permalink
action for self-hosted GitHub enterprise instances. (#26482) SSH: Added support for specifyingssh_config
files (ssh -F ssh_config
) in connection string. (#25619) SSH: Added support for downloadingzed-remote-server
with busybox wget (Alpine, etc). (#25621) Improved Zed tasks'ZED_WORKTREE_ROOT
fallbacks. (#25605) Improved performance of rendering multibuffers with very large numbers of buffers. (#26308) Changed thealways_show_close_button
key toshow_close_button
and introduced a newhidden
value, that allows never displaying the close button. (#23880; thanks @Morgandri1) Updated bundled JSON schemas forpackage.json
andtsconfig.json
. (#25826) Vim
- Added the ability to set the default Vim mode. ( #25067; thanks @aspiringLich)
- Fixed back quotes
``
not recognized as object. ( #24999; thanks @yichengliu)Languages
- Added
editor::OrganizeImports
action to organize imports (sort, remove unused, etc.) for supported LSPs. You can trigger it by using thealt-shift-o
key binding. ( #25793)- Added support for clickable file paths in the Odin language format. ( #25842; thanks @devzeth)
AI
- Edit Predictions: Added an
enabled_in_assistant
setting. ( #25767)- Edit Predictions: Added support for absolute globs in
edit_predictions.disabled_globs
.Bug Fixes
- Fixed an issue where git hunk indicators in editor scrollbars used the incorrect colors. ( #25824)
- Fixed Markdown preview to display image with max width 100%. ( #25632; thanks @huacnlee)
- Fixed issues with ansible-language-server sending phantom diagnostic updates. ( #25903)
- Fixed an issue where the buffer search options would not be reset when using
buffer: deploy search
after using Vim search (*
&#
) which enable all search options. ( #25838)- Fixed an issue where
active_pane_modifiers
settings would be applied to a parent pane if one of its child panes was active. ( #25836)- Fixed search input regex highlight not going away after redeploy. ( #25797)
- Fixed an issue where
Zed.log
could grow excessively large during long sessions of Zed. ( #25768)- Fixed Rust test tasks showing up outside of tests. ( #25787)
- Fixed markdown preview not updating when an edit prediction is accepted. ( #25772)
- Fixed a panic when Cyrillic characters are used in languages like Swift. ( #25739)
- Fixed an issue where the Bedrock model provider would not always respect the region. ( #25716; thanks @5herlocked)
- Fixed an issue where active diagnostics could become stale. ( #25646)
- Fixed a hang that could occur when editing certain Zig files. ( #26092)
- Fixed an issue where language models would not be authenticated until after the model selector was opened (Preview only). ( #26138)
- Fixed a bug causing slowness when viewing multi buffers with lots of excerpts. ( #26253)
- Fixed some potential panics in the AWS Bedrock model provider. ( #26238)
- Fixed
editor: copy permalink to line
to now use the upstream of the current branch instead oforigin
. ( #26398)- Linux: Fixed a panic that could occur on theme appearance change. ( #26019)
- Vim: Fixed
j/k
on folded multibuffer header. ( #25944)- Vim: Added git keyboard shortcuts:
d u/d U
for staging/unstaging in the project diff view.d o/d O
to show hide/toggle staged in the editor andd p
for restoring the hunk. ( #26045)Breaking Changes and Notices
- Renamed several keymap actions for consistency (e.g.,
GoToPrevHunk
→GoToPreviousHunk
,TabPrev
→Backtab
, etc). Your existing configured keybindings will still work. You can click "Backup and Update" at the top of your keymap file to easily update to the new actions. ( #25909)