github zed-industries/zed v0.126.2

latest releases: nightly, collab-staging, v0.161.1-pre...
8 months ago

Enhancements

Languages

  • Added Zig outline view (#7357).
  • Improved Ruby grammar to allow targeting of superclasses including namespaces classes.
  • Improved Rust DX by exposing more errors from rust-analyzer on invalid Cargo.toml contents (#7574).

Vim

  • Added support for ap and ip paragraph text objects (#7359).
  • Added support for z. (centers cursor in window and puts cursor at first non-blank).
  • Added ctrl-w d, ctrl-w shift-d and ctrl-w space for editor::GoTo{,Type}Definition and editor::OpenExcerptsSplit.

Collaboration

  • Added cli: Register Zed Scheme to control which Zed handles the zed:// scheme (defaults to the most recently installed, or the version that you last used cli: Install Cli with).
  • Removed zed-{preview,nightly,dev}: url schemes (used by channel links).
  • Improved handling of reconnections during calls.

General

  • Added a new workspace::SaveWithoutFormatting, bound to cmd-k s, to save a file without invoking the auto formatter (#5230).
  • Added task contexts, which are additional environment variables set by Zed for task execution; task content is dependent on the state of the editor at the time the task is spawned.
  • Added local task configurations (.zed/tasks.json).
  • Added menu::UseSelectedQuery command that populates the task modal query with the selected task name.
  • Added the ability to override player colors using experimental.theme_overrides.
  • Added success/error reporting to cli: Install Cli (#8857).
  • Added the ability to accept partial copilot suggestions, via alt-right (#8020).
  • Added support for configuring the terminal toolbar.
  • Added editor: toggle line numbers command and default keybindings (cmd-;).
  • Added support for repositories hosted on git.sr.ht (Sourcehut), codeberg.org, and bitbucket.org (Bitbucket Cloud) to the editor: copy permalink to line and editor: open permalink to line actions (#5110).
  • Added editor::OpenExcerptsSplit (bound to cmd-k enter) to open the selected excerpts in the adjacent pane.
  • Improved editor: find all references. When there's only one reference, go to that reference directly instead of opening a reference buffer (#4796).
  • Improved Extensions view UI.

Bug Fixes

  • Fixed prettier integration not correctly picking up prettier plugins, because it didn't run in the project's root path when invoked. (#8823).
  • Fixed missing client workspace configuration of Dart LSP. Those can now be configured by setting {"lsp": {"dart": { "settings: { "your-settings-here": "here"} } } in the Zed settings. (#8558).
  • Fixed a bug where the main window had double borders.
  • Fixed a bug that prevented project joining.
  • Fixed open permalink to line not working when multiple folders are added to the project.
  • Fixed picker item's cursor style to use Pointer.
  • Fixed VCS and Recent Projects menu cursor styles to use Pointer.
  • Fixed first and last item margin when scroll view has padding.
  • Fixed an issue where the followed users' cursor would disappear if you blurred the pane.
  • Fixed static tasks not being run under a separate shell.
  • Fixed detection of direnv not working in fish when an LSP adapter (gopls, for example) tries to detect user-installed binaries (#8633).
  • Fixed a bug where update notifications weren't showing (#7597).
  • Fixed autoscrolling of the project search results (#8237).
  • Fixed consecutive spaces in command palette influencing selection (#8184).
  • Fixed a panic when hovering in a multi-buffer.
  • Vim: Fixed $ not taking a numeric argument (i.e. 2$ or 4$) (#8007).

Don't miss a new zed release

NewReleases is sending notifications on new releases.