Releases: zed-industries/zed
Releases · zed-industries/zed
v0.149.2-pre
v0.149.1-pre
Improvements
- Added support for 8192 output tokens from Claude Sonnet 3.5 (#16358; thanks rowillia)
- Reduced instances of over-generation when inserting docs or annotations above a symbol (#16333).
- Improved conformance with Anthropic Images in Chat Completions API (#16270).
- Adds 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)
Bug Fixes
- 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 (#15570, #15989; thanks vitallium).
v0.148.1
Bug Fixes
- Fixed scrolling not working in the assistant configuration view
v0.149.0-pre
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).
v0.148.0
Enhancements
General
- Added a popup that is displayed when the settings are invalid.
- Added menu items to quickly switch between Supermaven and Copilot inline completions when the provider is not configured (thanks kevmo314).
- Added tool calling capabilities to OpenAI and Ollama models.
- Improved streaming git diffs to be less jumpy during inline assistant generation.
- Templates for prompts driving inline transformation in editors and the terminal can now be overridden in the
~/.config/zed/prompts/templates
directory. This is an advanced feature, and prevents you from getting upstream changes. It's intended for use by Zed developers. - Added an
editor: go to declaration
editor action (thanks coszio). - Linux: Changed the fallback color of
title_bar.inactive_background
to a non-transparent value.
REPL
- Added additional context about available kernel sessions.
- Added
update_display_data
support for REPL.- See the video!
- Added logging in debug mode of raw kernel output from REPL.
- Added
ctrl-alt-enter
keybinding forrepl::RunInPlace
(ctrl-option-enter
on MacOS). This keeps your screen position and cursor in place when running any block. - Added markdown rendering for Jupyter/REPL outputs. Push Markdown from Deno/Typescript with
Deno.jupyter.md
and in IPython useIPython.display.Markdown
.
Languages
- Improved Rust test detection to work for attributes containing
test
substring (#15580; thanks MayankJikadara). - VTSLS will now use the local instance if there's one on PATH (#4978; thanks kakoc).
- The ordering of language servers will now respect the order in the
language_servers
setting. The first language server in this list will be used as the primary language server.
Vim
- Vim: Breaking change to keybindings after the introduction of the
editor: go to declaration
editor action. The new keybindings are the following (and can be found here, alongside the other key bindings) (thanks coszio):g d
- Go to definitiong D
- Go to declarationg y
- Go to type definitiong I
- Go to implementation
Bug Fixes
- Fixed an issue where the terminal inline assistant would not appear when opening a terminal in the center pane (#15729).
- REPL: Fixed plain text output wrapping around and covering editor text (#15491, #14855).
- REPL: Fixed bug in kernelspec launch choosing first available kernel matching the language rather than selected name.
- REPL: Fixed kernels not being shut down completely on close of Editor.
- REPL: Fixed ANSI escape code and carriage return handling in repl outputs (#15640, #14855).
- Fixed poor performance when editing in the assistant panel after inserting large files using slash commands.
- Fixed a bug where a closed workspace could be reopened on startup (thanks apricotbucket28).
- Linux: Fixed Zed flickering when using Intel graphics (#14101; thanks Jaakkonen).
- Linux: Fixed prompts not being navigable by arrow keys (#15151; thanks apricotbucket28).
- Linux: Fixed visual glitches when rendering icons (#12352; thanks apricotbucket28).
- Linux: Fixed last workspace not being restored on startup (#15642; thanks apricotbucket28).
v0.148.0-pre
Enhancements
General
- Added a popup that is displayed when the settings are invalid.
- Added menu items to quickly switch between Supermaven and Copilot inline completions when the provider is not configured (thanks kevmo314).
- Added tool calling capabilities to OpenAI and Ollama models.
- Improved streaming git diffs to be less jumpy during inline assistant generation.
- Templates for prompts driving inline transformation in editors and the terminal can now be overridden in the
~/.config/zed/prompts/templates
directory. This is an advanced feature, and prevents you from getting upstream changes. It's intended for use by Zed developers. - Added an
editor: go to declaration
editor action (thanks coszio). - Linux: Changed the fallback color of
title_bar.inactive_background
to a non-transparent value.
REPL
- Added additional context about available kernel sessions.
- Added
update_display_data
support for REPL.- See the video!
- Added logging in debug mode of raw kernel output from REPL.
- Added
ctrl-alt-enter
keybinding forrepl::RunInPlace
(ctrl-option-enter
on MacOS). This keeps your screen position and cursor in place when running any block. - Added markdown rendering for Jupyter/REPL outputs. Push Markdown from Deno/Typescript with
Deno.jupyter.md
and in IPython useIPython.display.Markdown
.
Languages
- Improved Rust test detection to work for attributes containing
test
substring (#15580; thanks MayankJikadara). - VTSLS will now use the local instance if there's one on PATH (#4978; thanks kakoc).
- The ordering of language servers will now respect the order in the
language_servers
setting. The first language server in this list will be used as the primary language server.
Vim
- Vim: Breaking change to keybindings after the introduction of the
editor: go to declaration
editor action. The new keybindings are the following (and can be found here, alongside the other key bindings) (thanks coszio):g d
- Go to definitiong D
- Go to declarationg y
- Go to type definitiong I
- Go to implementation
Bug Fixes
- Fixed an issue where the terminal inline assistant would not appear when opening a terminal in the center pane (#15729).
- REPL: Fixed plain text output wrapping around and covering editor text (#15491, #14855).
- REPL: Fixed bug in kernelspec launch choosing first available kernel matching the language rather than selected name.
- REPL: Fixed kernels not being shut down completely on close of Editor.
- REPL: Fixed ANSI escape code and carriage return handling in repl outputs (#15640, #14855).
- Fixed poor performance when editing in the assistant panel after inserting large files using slash commands.
- Fixed a bug where a closed workspace could be reopened on startup (thanks apricotbucket28).
- Linux: Fixed Zed flickering when using Intel graphics (#14101; thanks Jaakkonen).
- Linux: Fixed prompts not being navigable by arrow keys (#15151; thanks apricotbucket28).
- Linux: Fixed visual glitches when rendering icons (#12352; thanks apricotbucket28).
- Linux: Fixed last workspace not being restored on startup (#15642; thanks apricotbucket28).
v0.147.2
Enhancements
General
Once you've signed into GitHub Copilot within Zed, Copilot Chat should be available as an option in the model dropdown in the assistant.
- Added double-click to create a new file when clicking on blank space in the project panel (#15353; thanks ssut).
- Added support for tab switcher in Assistant panel (#15475).
- Use
ctrl-enter
to summon the inline assistant in the terminal, which lets you generate terminal commands based on your description.- Check out the demo.
- Improved restoring of windows across restarts: the order of the windows is now also restored. That means windows that were in the foreground when Zed was quit will be in the foreground after restart. Supported on MacOS and Linux/X11, not yet on Linux/Wayland (#15419).
- Check out the video video!
- Added the ability to select and copy text from diagnostic popovers (#12695; thanks effdotsh).
- Added support for font fallbacks via three new settings:
ui_font_fallbacks
,buffer_font_fallbacks
, andterminal.font_fallbacks
(#5180, #5055). - Changed the project panel to auto fold directories by default.
- Linux/X11: Support for keyboard layout hot plugging (#15059; thanks XDeme1).
- Unsaved files that are restored when Zed starts are now marked as having a conflict if they have been changed on disk since the last time they were stored (#15207).
- Updated tree-sitter parsers for core languages (#4565).
- Improved performance when computing indent guides for buffers with extremely long lines (#15167).
- Improved performance of project and buffer search when there are many matches (#15102).
- Added an option to copy the file's absolute path from within the tab context menu (#13970; thanks HarshNarayanJha).
- Improved the environment-variable detection when running tasks so that tasks can now access environment variables as if the task had been spawned in a terminal that
cd
ed into a project directory. That means environment variables set bydirenv
/asdf
/mise
and other tools are now picked up (#12125).- Check out the video!
- Added a button to preview Markdown files in the toolbar.
Option|Alt+Click
will open the preview to the side (#15215).
Languages
- Rust: Added ability to style doc comments with
comment.doc
(#15322; thanks earomc). - Improved the outline panel for Rust to include static items (#15225).
- Added support for language server tracing to the LSP log view.
Remoting
- remoting alpha: Added support for terminal and tasks to new experimental ssh remoting (#15321).
- remoting alpha: Removed the ability to specify
gh cs ssh
orgcloud compute ssh
etc. See https://zed.dev/docs/remote-development for alternatives.
Vim
- Added support for Vim digraphs (#11871; thanks Benjamin-Davies).
- Added support to bind motions in insert mode.
- Added {count} for
>
/<
in visual mode (thanks Tobbe). - Fixed a hang when repeating an aborted operation (#15399; thanks Alextopher).
Bug Fixes
- Fixed the cursor sometimes not changing on Linux X11 (#15518; thanks apricotbucket28).
- Fixed editor::AcceptPartialInlineCompletion keybind to match VSCode (#15487).
- Fixed Linux Desktop file missing
TryExec
(#15148; thanks HarshNarayanJha). - Fixed project panel not showing properly file entries for directories with dots in their names (#12470).
- Fixed to hide blinking cursor when window is deactivated (#4710; thanks huacnlee).
- Fixed a bug that caused the inline assistant to be displayed twice in certain circumstances (#15449).
- Fixed paths starting with
./
breaking the new-path file picker when the system prompts are disabled (#15426). - Fixed an issue where font-related settings in
settings.json
were missing their descriptions. - Fixed typo in remote projects sign-in prompt (#15325; thanks nickcernis).
- Linux: Fixed window menu not showing on X11 (thanks apricotbucket28).
- Updated UI labels to respect the
ui_font_weight
setting (#15234).
v0.147.2-pre
Bug Fixes
- Fixed a regression when rendering diffs for the inline assistant.
v0.146.5
v0.147.1-pre
Bug Fixes
- Fixed context menus not appearing in multi buffers
- Fixed not all worktree entries being returned by the /file slash command completions