Zed 0.144.3
07/17/2024
Enhancements
General
- Extensions can now provide snippets by including
snippets.json
file next to the extension manifest. - Move snippet support into the core editor deprecating the snippet extension. Snippets are now available in any buffer including plain text (#13937).
- Improved contrast between some items in the One Dark theme.
- Added support for filtering in the outline panel (#13984).
- Added dynamic [un]registration for LSP formatting capabilities (#12661).
- Improved
prettier
detection to pick up its installation from transitive dependencies (#12731). - Improved Zed logic for sending
textDocument/didSave
request (#14286).
Languages
- Added support for setting
classAttributes
in the configuration fortailwindcss-language-server
. Example:
{
"lsp": {
"tailwindcss-language-server": {
"settings": {
"classAttributes": [ "class", "className", "ngClass", "styles" ]
}
}
}
}
Vim
- Fixed vim undo and redo commands not taking counts (#13950, thanks mattfbacon).
- Fixed an issue with start of line anchor in regex search (#13920, thanks rokob).
Bug Fixes
- Fixed auto close for single quotes in Python (#13972).
- Fixed telemetry putting temporary files in
config_dir
(#7155). - Fixed origin packages not being surfaced in Rust completions (#13494).
- Fixed honoring of the
terminal.font_weight
user setting (thanks hron). - Fixed selections being cleared when right-click was performed outside of a selection (#4267, thanks WeetHet).
- Fixed Go shell escaping for tasks (#14054, thanks DanielMSchmidt).
- Fixed undocumented system dependency on
unzip
to extract.zip
files downloaded by extensions. - Fixed some issues with restoring the state of some panels after a restart (#9638, #12954, thanks yongkangchen).
- Nix's
flake.lock
files are now automatically identified as JSON. - Linux: Changed
editor::JoinLines
toctrl-shift-j
(#14136). - Linux: Fixed overflow in xkbcommon-rs (#14571).
- Linux: Fixed the issue where text appears twice in the editor after Chinese Character input (linux: Fix IME on fcitx, #14558).
- Linux: Fixed opening urls/directories on systems where the xdg desktop portal doesn't handle those requests (#14359).
- Linux: Fixed IME under fcitx5 (#14192, #14508).