Enhancements
General
- Added the ability to open directories using context menu (Right click -> Open With -> Zed).
- Added support for avatars in git blame for repositories hosted on codeberg (#11043).
- Added diagnostics for main-thread hangs on macOS. These are only enabled if you've opted into diagnostics.
- Added support for replacing the current preview tab when using code navigation (
enable_preview_from_code_navigation
).
- Added icons for JS, React, C, and C++ file types.
- Improved the behavior of launching an empty already-running Zed application by respecting the user's
restore_on_startup
setting.
(#10812).
- Added a new
project_panel::Trash
action and changed the default behavior for backspace
and delete
in the project panel to send a file to the systems trash, instead of permanently deleting it (#7228, #5094). The original behavior can be restored by adding the following section to your keybindings:
{
"context": "ProjectPanel",
"bindings": {
"backspace": "project_panel::Delete",
"delete": "project_panel::Delete",
}
}
- Added displaying of cursor markers in the scrollbar. They can be switched on/off by the
scrollbar.cursors
setting.
- Improved rendering performance of list elements inside the markdown preview (#10824).
- Changed the diagnostics view to always update its excerpts eagerly when not focused.
- Added an indicator to the project diagnostics view's toolbar, showing when diagnostics have been changed.
Tasks
- Improved the
task::Rerun
action to toggle the tasks modal when no tasks have been scheduled so far.
Vim
- Added support for line ranges in Vim replace commands (#9428).
Languages
- Added highlighting to TypeScript's triple-slash reference directives (#11001).
- Added
@operator
, @lifetime
and @punctuation.delimiter
captures to Rust highlights file.
- Added support for configuring ESLint's
rulesCustomizations
settings, ie. {"lsp": {"eslint": {"settings": {"rulesCustomizations": [{"rule": "*", "severity": "warn"}]}}}}
.
- Added ESLint support for Vue.js files by starting it as a language server on
.vue
files. (#9934).
Bug Fixes
- Fixed an issue where the project diagnostics view could update its excerpts while you were typing in it.
- Fixed bugs where the project diagnostics view could show the wrong excerpts.
- Fixed (maybe) a rare crash in watching settings files (#11168).
- Fixed a bug where inline diagnostic messages were still visible after folding surrounding code(#4659).
- Fixed ghostly artifacts in transparent window backgrounds.
- Fixed sluggishness with blurred window backgrounds.
- Fixed inline git blame information moving when horizontally scrolling.
- Fixed error messages being logged due to inline git blame not working on an empty buffer that hasn't been saved yet.
- Vim
- Fixed
ctrl-a
when cursor is on a decimal point (#10865).
- Fixed cursor not changing into a hollow block when editor loses focus.
- Fixed
cmd-click
ing on a definition to find all references (#10392).
- Fixed logic for finding surrounding quotes to ignore escaped characters (#10827).
Breaking Changes
- Removed built-in support for Elixir, in favor of making it available as an extension.