v0.149.3
github-actions
released this
20 Aug 18:42
·
2159 commits
to main
since this release
Introducing Zed AI! Our new hosted service that brings advanced AI-assisted coding directly into Zed.
For more information on Zed AI, read our in-depth blog post and see the assistant documentation on our revamped website.
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).
- Added
performance.show_in_status_bar: true
setting (macOS-only) to show the time to the first window draw and FPS (#16422).
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).
- Added UI affordances to the assistant panel to show which messages have been cached (#16395; thanks rowillia).
- Migrated cache invalidation to be based on
has_edits_since_in_range
to be smarter and more selective about when to invalidate the cache and when to fetch (#16395; thanks rowillia). - Added support for 8192 output tokens from Claude Sonnet 3.5 (#16358; thanks rowillia).
- Improved conformance with Anthropic Images in Chat Completions API (#16270).
- Reduced instances of over-generation when inserting docs or annotations above a symbol (#16333).
- Added support for Prompt Caching in Anthropic. For models that support it this can dramatically lower cost while improving performance (#16274; thanks rowillia).
- Workflows can now create new files in folders that didn't exist (#16251).
- Added support for GPT-4o for Copilot Chat (#16446; thanks Hawkbawk).
- Updated inline assist icon in the editor & terminal (#16363).
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).
- repl: Fixed scaling of stdout/stderr line heights (#16308).
- Restored the ability to toggle the model selector in the Assistant via a keybinding (Preview only) (#16319).
- Restored the behavior of
ctrl-a
until we can separate the behavior of the command for soft wraps and leading indentation (Preview Only) (#16246). - Fixed a bug where directories were often omitted from the completions for the
/file
slash command (#16242). - Fixed detection of Python virtual environments (#15989; thanks vitallium).
- Fixed an issue where the count of selected characters was incorrect (#16420).
- Fixed an issue where an extra newline was inserted after running a
/file
command in the assistant (#16419).
Documentation
- Updated Terms and Conditions (#16478).