Skip to content

Releases: zed-industries/zed

v0.148.1

15 Aug 12:40
Compare
Choose a tag to compare

Bug Fixes

  • Fixed scrolling not working in the assistant configuration view

v0.149.0-pre

14 Aug 18:33
Compare
Choose a tag to compare
v0.149.0-pre Pre-release
Pre-release

Enhancements

General

  • Added syntax highlighting for tagged template literals in javascript, typescript and tsx languages for css, html, js, json, sql, ts, yaml and yml (#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 and ctrl-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 when vertical_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

14 Aug 17:31
Compare
Choose a tag to compare

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.
  • Added logging in debug mode of raw kernel output from REPL.
  • Added ctrl-alt-enter keybinding for repl::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 use IPython.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 definition
    • g D - Go to declaration
    • g y - Go to type definition
    • g 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

07 Aug 16:24
Compare
Choose a tag to compare
v0.148.0-pre Pre-release
Pre-release

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.
  • Added logging in debug mode of raw kernel output from REPL.
  • Added ctrl-alt-enter keybinding for repl::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 use IPython.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 definition
    • g D - Go to declaration
    • g y - Go to type definition
    • g 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

07 Aug 16:10
Compare
Choose a tag to compare

Enhancements

General

A screenshot showing a conversation between a user and GitHub Copilot Chat within the Zed editor

Once you've signed into GitHub Copilot within Zed, Copilot Chat should be available as an option in the model dropdown in the assistant.

Copilot Chat model option

  • 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, and terminal.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 cded into a project directory. That means environment variables set by direnv/asdf/mise and other tools are now picked up (#12125).
  • 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 or gcloud 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

02 Aug 07:48
Compare
Choose a tag to compare
v0.147.2-pre Pre-release
Pre-release

Bug Fixes

  • Fixed a regression when rendering diffs for the inline assistant.

v0.146.5

02 Aug 17:35
Compare
Choose a tag to compare
  • Fixed a bug where the default binding (cmd-alt-g b) for editor::ToggleGitBlame wasn't working (#15676).

v0.147.1-pre

01 Aug 17:30
Compare
Choose a tag to compare
v0.147.1-pre Pre-release
Pre-release

Bug Fixes

  • Fixed context menus not appearing in multi buffers
  • Fixed not all worktree entries being returned by the /file slash command completions

v0.146.4

01 Aug 17:30
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a panic when removing a git-based worktree from the project panel
  • Fixed context menus not appearing in multi buffers
  • Fixed not all worktree entries being returned by the /file slash command completions
  • linux: Update TryExec value in desktop file #15148

v0.147.0-pre

31 Jul 19:00
Compare
Choose a tag to compare
v0.147.0-pre Pre-release
Pre-release

Enhancements

General

A screenshot showing a conversation between a user and GitHub Copilot Chat within the Zed editor

Once you've signed into GitHub Copilot within Zed, Copilot Chat should be available as an option in the model dropdown in the assistant.

Copilot Chat model option

  • 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, and terminal.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 cded into a project directory. That means environment variables set by direnv/asdf/mise and other tools are now picked up (#12125).
  • 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 or gcloud 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).