github zed-industries/zed v0.136.2

latest releases: collab-staging, collab-production, nightly...
5 months ago

Enhancements

General

  • Added support for hiding the tab bar (part of #6424, #4963). Turn off the tab bar by adding the following to your settings.json:
"tab_bar": {
    "show": false
}
  • Added support for opening subfolders of git repositories and treating them as part of a repository (show git status in project panel, show git diff in gutter, git blame works, ...) (#4672).
  • Added "Open permalink" option to right-click menu of git blame entries in gutter.
  • Added a pane: alternate file command, to navigate back and forth between two buffers, and bound it to ctrl-6 in Vim mode.
  • Added the current_line_highlight setting that defines how to highlight the current line in the editor (#5222).
  • Added --foreground to the CLI to allow running Zed on the current PTY.
  • Improved the behavioral consistency of editor: go to diagnostic and editor: go to prev diagnostic.
  • Improved responsiveness of the main thread under high system load.
  • Changed UI elements within the editor to scale based on buffer_font_size (e.g., code action indicators, task run indicators, etc.).

AI

  • Added support for interacting with Claude in the assistant panel (#8914). You can enable it by adding the following to your settings.json:
"assistant": {
    "version": "1",
    "provider": {
        "name": "anthropic"
    }
}
  • Added a new ambient context feature that allows showing the model up to three buffers (along with their diagnostics) that the user interacted with recently.
  • Added the ability to use the inline assistant within the assistant panel.
  • Added GPT-4o support to the assistant and made it the default.
  • Added a low_speed_timeout_in_seconds setting to the Assistant's OpenAI provider (#9913).

Tasks

  • Improved tasks modal by highlighting a distinction between a task template and concrete task instance and surfacing available keybindings more prominently. Task templates are now always available in the modal, even if there's already a history entry with the same label.

Vim

  • Added support for the changelist. g; and g, to go to the previous/next change.
  • Added support for the '. mark.
  • Added support for gi to resume the previous insert.
  • Added support for buffer-local marks ('a-'z) and some builtin marks '<,'>,'[,'], '{, '} and ^. Global marks ('A-'Z), and other builtin marks ('0-'9, '(, '), '', '., '") are not yet implemented (#5122).
  • Added support for pasting with a count (#10842).

Languages

  • Added ability to configure settings for tailwindcss-language-server, namely the includeLanguages and experimental objects.

Bug Fixes

  • Fixed icon in inline git blame entry not changing with the buffer font size (#11311).
  • Fixed rendering issues that could arise when having large amounts of text displayed on a large display. Fixed by dynamically increasing the size of the buffers used on the GPU (#11615).
  • Fixed the size of the completions menu changing based on the size of the aside (#11722).
  • Fixed a bug where all run buttons would show up as pressed when clicking on a single run button.
  • Fixed a bug where Vim bindings were not available when mouse context menu was open.
  • Fixed the go to definition before by not selecting the target range when the target range has more than one line (#11347).
  • Fixed ctrl-space not being forwarded correctly in the terminal view (#10502).
  • Fixed a bug where SHELL was outdated if Zed was launched via Finder or Raycast or other desktop launchers (#8794).
  • Fixed a panic caused by missing bounds check in completion handler.
  • Fixed a bug where autosave after_delay would auto-format the buffer (#9787).
  • Fixed a bug where the last character of a line could be hidden under the scrollbar (#7098).
  • Fixed completions inside snippets breaking the jump-to-next-tabstop behaviour when using Go/gopls (#10185).
  • Fixed scrollbar markers for folded code.
  • Fixed a bug where the code actions button and the test run button could not be triggered when the editor was not focused.
  • Vim: Fixed a bug where highlights would appear which were only cancellable by opening then closing the toolbar. Buffer search toolbar now opens on n and gn so that the highlights can be cleared.
  • Vim: Fixed a bug where e/E was blocked by hint text (#7046).

Breaking Changes

  • Removed built-in support for Ruby, in favor of making it available as an extension.
  • Changed the default key binding for picker::UseSelectedQuery to alt-e.
  • Changed the default format_on_save behavior for Markdown files to be off.

Don't miss a new zed release

NewReleases is sending notifications on new releases.