Stable release

June

Zed 0.139.3

06/12/2024

Enhancements

General

  • Added the ability to restart the remote language servers when collaborating.
  • Added boundary whitespace rendering option (#4290).
boundary whitespace rendering
boundary whitespace rendering
  • Added support for copying permalinks inside multi-buffers (#11392).
  • Added the ability to format unsaved buffers with external formatters (#4529).
  • Improved excluded entry creation workflow in the project panel (#10890).
  • Improved Zed's responsiveness when initially opening a project containing a very large git repository (#9575).
  • Improved the performance of git status updates when working in large git repositories (#4294).

AI

  • Improved the UX for selecting a model in the assistant panel. You can now switch models using just the keyboard by pressing alt-m. Also, when switching models via the UI, settings will now be updated automatically.
  • Improved UX for the inline assistant. It will now automatically wrap when the text gets too long, and you can insert newlines using shift-enter.

Languages

  • Added runnable tasks for Python unittest (#12080).
  • Added runnable tests for JavaScript & TypeScript files.
  • Added task to run selected JavaScript code.
  • Added support for using vtsls language server for TypeScript/JavaScript. To enable vtsls, adjust the language_servers field of the language in your settings.json file:
"TypeScript": {
  "language_servers": ["!typescript-language-server", "vtsls", ".."],
}
  • Improved performance and reliability of completions in large TypeScript projects (#5166).
  • Added completions for tsconfig.json config file.
  • Improved Vue highlighting (#8989).
  • Added runnable tasks for Elixir tests (modules, describe, and test blocks).
Elixir runnable tasks
Elixir runnable tasks

Vim

  • Implemented > and < with motions and text objects (#9697).

Bug Fixes

  • Fixed file drag and drop not working for the terminal.
  • Fixed a crash caused by bad file descriptor lifetime handling.
  • Fixed crash on macOS when using certain input sources.
  • Fixed TSX shorthand property syntax highlighting (#12510).
  • Fixed JavaScript shorthand property syntax highlighting (#12509).
  • Fixed a bug where "rerun last task" in task modal was not working (#12580).
  • Fixed an issue in vim mode where using find (f) to search for the letter g caused a delay while the editor awaited further input (#12483).
  • Fixed the alignment for the inline assistant.
  • Fixed TypeScript shorthand property highlight (#5239).
  • Fixed some bugs with running tests in Elixir.
  • Fixed VTSLS being enabled by default and duplicating completions with typescript-language-server

Breaking Changes

  • Rebound "picker::UseSelectedQuery" from opt-E to F2 (#12580).