Releases: zed-industries/zed
v0.166.0-pre
Enhancements
General
- Linux: Added preliminary support for Zed Collaboration voice chat and viewing screenshares (#21550).
- Added support for opening images via drag and drop or terminal (#21803).
- Added
left_neighbour
option to thetabs.activate_on_close
setting to activate the left adjacent tab on tab close (#21800; thanks MrSubidubi). - Added
show_completions_on_input
andshow_completion_documentation
per-language settings. These settings were available before, but were not configurable per-language (#21722). - Added support for language server actions being executed on file rename (#21651).
- Added
editor: insert uuid v4
andeditor: insert uuid v7
actions for inserting generated UUIDs into the editor (#21656). - Added setting (
{"tabs": {"show_diagnostics": "all"}}
) to display error and warning indicators in tabs (#21383; thanks nilskch). - Added
editor::OpenContextMenu
action to open context menu at current cursor position (#21494). - Changed the include warnings toggle in the diagnostic tab to be global for a Zed session (#21618).
- Improved LSP resolution of documentation for completions. Only query documentation for visible completions and reduce redundant queries (#21705).
- Improved key equivalents for Norwegian Extended layout (#21665).
Languages
- Added support for
*.C
and*.H
(uppercase) to be recognized as C++ (#21647; thanks budde25). - Added JavaScript runnable detection for
context
andsuite
methods for mochajs framework (#21719; thanks RemcoSmitsDev). - Added support for Markdown frontmatter highlighting (YAML and TOML) (#21503; thanks uncenter).
Vim
- Added delete action to HelixNormal mode (#21544; thanks leroycep).
- Added
[ c
&] c
to select prev/next git modified file within the project panel (#20941; thanks Anthony-Eid). - Added
[ d
&] d
to select prev/next file with diagnostics from an LSP within the project panel (#20941; thanks Anthony-Eid). - Added
{
&}
to select prev/next directory within the project panel (#20941; thanks Anthony-Eid).
Bug Fixes
- Fixed missing
musl
dependency required to build from source on ArchLinux (#21830; thanks connortsui20). - Fixed diagnostics editor not scrolling properly under certain conditions (#21209).
- Fixed completion list moving around on load of documentation. The previous approach to mitigating this was to rate-limit the fetch of docs, configured by a
completion_documentation_secondary_query_debounce
setting, which is now deprecated (#21716). - Fixed right click selection behavior in project panel (#21707; thanks 0xtimsb).
- Fixed a bug where
cmd-escape
could act like.
(#21667). - Fixed a bug where the
panel.background
color was not used in the file tree (#21559; thanks nilskch). - Fixed detection of git remotes when using SSH and username is not "git" (#21508; thanks nickbreaton).
- Fixed opening git worktrees that were created from a bare repository (#21596).
- Fixed completion item labels not being updated after the resolve for non-LSP compliant servers (#21521).
- Fixed an issue with multiline code actions' rendering by forcing them to be single line (#21409; thanks WeetHet).
- SSH Remoting: Fixed an issue where some dev extensions would not work after being uploaded to the remote server (#21761).
Breaking Changes and Notices
editor::ShowInlineCompetion
is nowoption-tab
on macOS (notoption-/
).editor::{Next,Previous}Completion
areoption-tab
andoption-shift-tab
(notoption-[
andoption-]
). This fixes typing characters generated by option-{/,[,]} on keyboards like Croatian (#21669).- In keymap.json
"use_layout_keys": true
is now the default. If you want to opt-out of this behaviour, set"use_key_equivalents": true
to have keys mapped for your keyboard (#21662). See documentation.
v0.165.4
Enhancements
General
- Added the ability to split the terminal panel (#21238).
- Added an uninstall script. To uninstall zed, run
zed --uninstall
via the CLI binary (#21213; thanks WeetHet). - GIF images now play when opened (#21274; thanks dovakin0007).
- Reduced the amount of
completionItem/resolve
calls done in the completion menu (#21286). - Improved suggestions for snippets (#21524; thanks 0xtimsb).
- Improved outline panel opening behavior to so the editor centers on the selection (#21375)
- Stop scrolling when clicking to the edges of the visible text area. Use
autoscroll_on_clicks
to configure this behavior. (#20287; thanks haruleekim) - Published updated JSON Schema for themes v0.2.0.json (#21428).
- Added "Copy Extension ID" to extension details menu (#21395; thanks uncenter).
- Removed project panel
Trash
action for remote projects. (#21300; thanks Moshyfawn) - Enabled toolchain virtual environment in new terminals (#21388; thanks [sn1c]
- Added
show_user_picture
setting (default: true) to allow users to hide their profile picture in titlebar (#21526).
Languages
- Added textobject support to erlang, haskell, lua, php, prisma, proto, toml, and zig (#21488)
- Added new
editor::FoldFunctionBodies
action to fold all function bodies (textobject languages only) (#21504) - Improved runnable detection for JavaScript/Typescript files (#21246; thanks RemcoSmitsDev).
- Added Python syntax highlighting for forward references (#20766; thanks JaagupAverin).
- Enabled clangd's dot-to-arrow feature (#21142; thanks feeiyu).
- Added support for running Rust examples as tasks (#21412).
.pcss
files are now recognized as CSS (#21402; thanks MrSubidubi)- Add V file icon (#20017; thanks spytheman)
Vim
- Added
==
indent line (#21490) - Added settings to control
highlight_on_yank
orhighlight_on_copy
(#21479; thanks RustyDev24). - Added motions
[[
,[]
,]]
,][
for navigating by section,[m
,]m
,[M
,]M
for navigating by method, and[*
,]*
,[/
,]/
for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924). - Added new text objects:
ic
,ac
for inside/around classes,if
,af
for functions/methods, andg c
for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924).
Bug Fixes
-
Fixed incorrect "close tab" keybinding shown in context menu of the terminal panel tabs on Linux and Windows (#21254).
-
Fixed buffer search for queries ending with non-letter characters (#19152; thanks CharlesChen0823).
-
Fixed underline when hovering a code link not showing when
multi_cursor_modifier
iscmd_or_ctrl
(#20949; thanks remixz). -
Fixed cursor position displaying when no buffers open (#21295).
-
Fixed folds not opening when jumping from search results multibuffer (#21433)
-
Fixed diagnostics status bar flashing when typing (#21463).
-
Fixed AI Context menu text wrapping causing overlap. (#21438; thanks huacnlee)
-
Fixed showing prev/next hunk navigation buttons when there is only one hunk (#21437)
-
Fixed workspace serialization of collapsed panels (#21408)
-
Fixed item closing overtly triggering save dialogues (#21374).
-
Fixed Copilot Chat OAuth Token parsing (#21360; thanks fred-sch).
-
Fixed mouse cursor size and blur issues on Wayland (#21373; thanks 0xtimsb)
-
Fixed Zed not visible in the "Open with" list in the file manager for Flatpak. (#21177; thanks 0xtimsb)
-
Fixed a panic when folding in a multibuffer (#21511).
-
Fixed a rare panic when changing tab (#21510)
-
Fixed a panic when closing tabs containing new unsaved files (#21480).
-
Fixed an issue where the app could crash when opening the markdown preview with a malformed image tag (#21616)
-
Fixed an edge case with appliance of autocompletions in VTSLS that could result in incorrect edits being applied. (#21755)
Breaking Changes and Notices
v0.165.4-pre
v0.165.3-pre
- Fixed an issue where the app could crash when opening the markdown preview with a malformed image tag (#21616)
v0.165.2-pre
Bump to 0.165.2 for @osiewicz
v0.165.1-pre
Bump to 0.165.1 for @cole-miller
v0.165.0-pre
Enhancements
General
- Added the ability to split the terminal panel (#21238).
- Added an uninstall script. To uninstall zed, run
zed --uninstall
via the CLI binary (#21213; thanks WeetHet). - GIF images now play when opened (#21274; thanks dovakin0007).
- Reduced the amount of
completionItem/resolve
calls done in the completion menu (#21286). - Improved suggestions for snippets (#21524; thanks 0xtimsb).
- Improved outline panel opening behavior to so the editor centers on the selection (#21375)
- Stop scrolling when clicking to the edges of the visible text area. Use
autoscroll_on_clicks
to configure this behavior. (#20287; thanks haruleekim) - Published updated JSON Schema for themes v0.2.0.json (#21428).
- Added "Copy Extension ID" to extension details menu (#21395; thanks uncenter).
- Removed project panel
Trash
action for remote projects. (#21300; thanks Moshyfawn) - Enabled toolchain virtual environment in new terminals (#21388; thanks [sn1c]
- Added
show_user_picture
setting (default: true) to allow users to hide their profile picture in titlebar (#21526).
Languages
- Added textobject support to erlang, haskell, lua, php, prisma, proto, toml, and zig (#21488)
- Added new
editor::FoldFunctionBodies
action to fold all function bodies (textobject languages only) (#21504) - Improved runnable detection for JavaScript/Typescript files (#21246; thanks RemcoSmitsDev).
- Added Python syntax highlighting for forward references (#20766; thanks JaagupAverin).
- Enabled clangd's dot-to-arrow feature (#21142; thanks feeiyu).
- Added support for running Rust examples as tasks (#21412).
.pcss
files are now recognized as CSS (#21402; thanks MrSubidubi)- Add V file icon (#20017; thanks spytheman)
Vim
- Added
==
indent line (#21490) - Added settings to control
highlight_on_yank
orhighlight_on_copy
(#21479; thanks RustyDev24). - Added motions
[[
,[]
,]]
,][
for navigating by section,[m
,]m
,[M
,]M
for navigating by method, and[*
,]*
,[/
,]/
for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924). - Added new text objects:
ic
,ac
for inside/around classes,if
,af
for functions/methods, andg c
for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924).
Bug Fixes
- Fixed incorrect "close tab" keybinding shown in context menu of the terminal panel tabs on Linux and Windows (#21254).
- Fixed buffer search for queries ending with non-letter characters (#19152; thanks CharlesChen0823).
- Fixed underline when hovering a code link not showing when
multi_cursor_modifier
iscmd_or_ctrl
(#20949; thanks remixz). - Fixed cursor position displaying when no buffers open (#21295).
- Fixed folds not opening when jumping from search results multibuffer (#21433)
- Fixed diagnostics status bar flashing when typing (#21463).
- Fixed AI Context menu text wrapping causing overlap. (#21438; thanks huacnlee)
- Fixed showing prev/next hunk navigation buttons when there is only one hunk (#21437)
- Fixed workspace serialization of collapsed panels (#21408)
- Fixed item closing overtly triggering save dialogues (#21374).
- Fixed Copilot Chat OAuth Token parsing (#21360; thanks fred-sch).
- Fixed mouse cursor size and blur issues on Wayland (#21373; thanks 0xtimsb)
- Fixed Zed not visible in the "Open with" list in the file manager for Flatpak. (#21177; thanks 0xtimsb)
- Fixed a panic when folding in a multibuffer (#21511).
- Fixed a rare panic when changing tab (#21510)
- Fixed a panic when closing tabs containing new unsaved files (#21480).
Breaking Changes and Notices
v0.164.2
Enhancements
General
- Improved app responsiveness in environments with multiple Python virtual environments (#21420)
- Added image rendering to the Markdown preview (#21082)
- Added
file_scan_inclusions
setting to force Zed to index files that match the provided globs, even if they're gitignored (#16852; thanks Hawkbawk). - Added task settings to suppress summary and command line in the task output
show_summary
/show_command
(#20920; thanks omennia). - Added support for
ctrl-k
/ctrl-y
alternate cut/yank buffer on macOS (#21003).
SSH Remoting
- Added support for extension languages on the remote server (#20049).
Languages
- Python: pylsp will now use version installed in user venv, if one is available (#21069).
- Python: Added
string.doc
python syntax highlighting to class and module-level docstrings. (#20486; thanks clwainwright) - JSON: Added json-language-server configuration via settings (#20748; thanks 4teapo).
- Updated tsconfig.json and package.json JSON schemas from upstream (#20910).
AI
- Restyled Apply/Discard buttons (#21017)
Vim
- Added the
=
operator, for auto-indent (#21427) - Added support for
ctrl-w _
andctrl-w =
(#21227). - Added
ctrl-w {+,-,>,<}
for resizing the current pane (#21038; thanks AidanV). - Added vim "unmatched" motions:
]}
,])
,[{
and[(
(#21098; thanks helgemahrt). - Added
vii
,vai
andvaI
for selectingindent-text-object
(#21121; thanks vultix). - Fixed
:
on the welcome screen (#20937) - Restores
dia
to mean "delete in argument" instead of "delete within angle brackets". (#20918)
To keep this in your own keymap use:{ "context": "vim_operator == a || vim_operator == i || vim_operator == cs", "use_layout_keys": true, "bindings": { "a": "vim::AngleBrackets" } }
Bug Fixes
- Fixed
code_actions_on_format
setting when used with a language server like ZLS (#20847; thanks Techatrix). - Fixed diagnostics editor not scrolling properly under certain conditions (#21209).
- Fixed multiple project panel selection bugs (#20859 and #20577; thanks 0xtimsb)
- Fixed eslint 404 downloads (#21233).
- Fixed incorrect handling of the completion list defaults (#21202)
- Fixed enter not working and menu toggle binding not shown in the file finder menu (#21087).
- Fixed a bug where it is possible to get in near-unrecoverable panel state by resizing the panel past the edge of the workspace (#20637).
- Fixed a bug where the non-OS save dialog would fail to save with "file exists" (#21080)
- Fixed symlink resolution when opening projects from within Zed. Previously this only happened within zed's cli, but that broke file watching on Linux when opening a symlinked directory (#21039).
- Fixed remote server panic of "local task dropped by a thread that didn't spawn it" (#21022).
- Fixed terminal title and breadcrumbs behavior (#20997).
- macOS: Add keybind for
ctrl-home
/ctrl-end
(MoveToBeginning
,MoveToEnd
) (#21007). - macOS: Fixed for
cmd-shift-\
(cmd-|
) not working for MoveToEnclosingBracket (#21207). - macOS: Fixed cmd-shift-e / ctrl-shift-e (
pane::RevealInProjectPanel
/project_panel::ToggleFocus
) to better my VSCode behavior (#21228). - Fixed a panic when backspacing at the start of a buffer with
always_treat_brackets_as_autoclosed
enabled. (#21482) - Fixed dismissing the macOS IME menu with escape when no marked text was present (#21413)
- Improved positioning of macOS IME overlay (#21416)
- Fixed file-less excerpts always opening instead of activating (#21472)
- Fixed a bug in the Markdown preview where images in the same paragraph would be rendered next to each other (#21247)
Breaking Changes and Notices
- Zed longer provides universal binaries for macOS releases (#21014).
v0.164.2-pre
- vim: Added the
=
operator, for auto-indent (#21427) - Fixed a panic when backspacing at the start of a buffer with
always_treat_brackets_as_autoclosed
enabled. (#21482) - (nightly only) fix ctrl-alt-X shortcuts (#21474)
- Fixed file-less excerpts always opening instead of activating (#21472)
- Improved positioning of macOS IME overlay (#21416)
- Fixed dismissing the macOS IME menu with escape when no marked text was present (#21413)