0.149.0
08/14/2024
macOS
Linux
Enhancements
General
- Added syntax highlighting for tagged template literals in
javascript
,typescript
andtsx
languages forcss
,html
,js
,json
,sql
,ts
,yaml
andyml
(#15984; thanks RobinMalfait). - Added support for recognizing CUDA files as C++" (#16098; thanks Athishpranav2003).
- Added an
editor::ScrollCursorCenterTopBottom
action for toggling scroll position with a single key binding (#16134). - Added an
editor::HandleInput
action to ease typing symbols that are part of keymaps. E.g. if, o k
key binding is bound,", ,": ["editor::HandleInput", ","]
would allow to type,
without timeouts (#16131). - Improved behavior of
ctrl-a
andctrl-e
on MacOS (#15981). - Added fallback to a smallest tree sitter node when hovering over a symbol (#16062; thanks WeetHet).
- Improved MimeType list in XDG .desktop file (#15623; thanks rudolfkastl).
- Added a popup that is displayed when the keymap is invalid (#15977).
- REPL: Improved visuals of repl stdout/stderr by reducing default line count to 32 (#16061).
AI
- Added support to allow for pasting images into the Assistant Panel to include them as context. Currently works only on macOS, and with Anthropic models. Future support is planned for more models, operating systems, and image clipboard operations (#15782).
- Added a count of the context tokens when hovering token counts in the inline assist (#16147).
- Zed now allows the model to control indentation when performing inline transformation. We're hoping this improves the indentation experience in Python and other indentation-sensitive languages, but it does require more from the model (#16145).
- Added more context when using
assistant: Quote selection
to insert text into the assistant panel (#16038). - Assistant workflow steps can now be applied and reverted directly from within the assistant panel (#15936).
Vim
- Vim: Added support for range syntax in command (#15985).
- Vim: Prefill command with
:'<,'>
from visual mode (#15985).
Bug Fixes
- Fixed
cmd
window showing when repl executing commands (#16016; thanks JunkuiZhang). - Fixed
ctrl-u
/ctrl-d
in Vim mode not working correctly whenvertical_scroll_margin
is set to a really high value (#16031). - Vim: Fixed a possible panic that could happen when using a very high value for
vertical_scroll_margin
that exceeded the number of visible lines on the screen (#16029). - Fixed a potential panic that can occur when deleting entries from the recent-projects menu (#15965; thanks CharlesChen0823).
- Fixed an issue where the markdown preview button would not show up for some markdown files (#15961).