github zed-industries/zed v0.124.7

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

Today's release ships with a fix to the flickering UI bug that many users have experienced. Please let us know if you are still experiencing it!

Enhancements

Languages

  • Added Dart language support (#5343).
  • Added Dockerfile language support (#5311).
  • Added Ruby method visibility in outline view (#7849).

Added Ruby method visibility in outline view

  • Added prettier support for Vue, Markdown, and PHP.
  • Added Lua file icon.
  • Added default settings for Svelte language server to display inlay hints (#7913).
  • Added default settings for TypeScript and Go LSP servers to enable inlay hints when those are turned on in Zed (#7821).
  • Added detection of user-installed gopls to Go language server adapter. If a user has gopls in $PATH when opening a worktree, it will be used.
  • Added detection of user-installed zls to Zig language server adapter. If a user has zls in $PATH when opening a worktree, it will be used.
  • Improved automatic indentation in Gleam code files (#7295).
  • Improved syntax highlighting of identifiers in Ruby.

Improved syntax highlighting of identifiers in Ruby

  • Improved Nu syntax highlighting.

Vim

  • Added workspace::SendKeystrokes to enable mapping from one key to a sequence of others (#7033).

This allows the user to send multiple keystrokes via custom keybinding. For example, the following keybinding would go down four lines and then right four characters.

[
  {
    "context": "Editor && VimControl && !VimWaiting && !menu",
    "bindings": {
      "g z": [
        "workspace::SendKeystrokes",
        "j j j j l l l l"
      ],
    }
  }
]
  • Added vim bindings for the project panel (#4270).
  • Added gx to Vim mode to open the URL under the cursor.
  • Added commands to toggle panels :E[xplore], :C[ollab], :Ch[at], :N[otification], :A[I], :te[rm] (or :T[erm]).

Added gx to Vim mode to open the URL under the cursor

  • Implemented ge and gE commands for going to the previous word end.

Collaboration

  • Added unseen messages indicator for the channel chat.
  • Added auto detection for links in the chat panel.
  • Improved reliability of following.

General

  • Added Tasks support to Zed. Tasks are defined in tasks file (accessible via zed: open tasks action) and they can be spawned with task: spawn action.
  • Added settings to configure terminal scroll limit (#7550).
  • Added "code_actions_on_format" to control additional formatting steps on format/save (#5232).
  • Added a "code_actions_on_format" of "source.organizeImports" for Go (#4886).
  • Changed default Markdown tab size to 2 spaces.
  • Improved UI of recent project overlay.
  • Improved the project search bar layout to match the buffer search bar layout (#7722).
  • Added download counts for extensions to the extensions view.
  • Added a button to link to an extension's repository (#7873).
  • Changed the behavior when uninstalling a theme to default to One Dark or One Light (based on system appearance) rather than keeping a cached version of the old theme.
  • Added cancel button on Copilot actions (#6878).
  • Improved startup time when opening Zed for the first time or after restarting the operating system.
  • Improved assistant.button setting to hide Inline Assist button when disabled (#4500).

Bug Fixes

  • Fixed flickering when hovering (#8050, (#8363)).
  • Fixed completions in Ruby not working for identifiers that start or end with special characters (e.g.: @).
  • Fixed two-character bindings in Vim insert mode (e.g., j k or j j) not working (#8006).
  • Fixed a panic that could occur when themes did not contain enough player colors (#7733).
  • Fixed case-only renaming of files in the project panel (#5211).

Fixed case-only renaming of files in the project panel

  • Fixed time formatting in the chat panel to be locale based.
  • Fixed display of long links in lists not fully visible in markdown preview.
  • Fixed markdown preview heading overflows not wrapping (#8047).
  • Fixed error message when joining a project twice (#8068).
  • Fixed a bug around following if the follow started while the workspace was inactive.
  • Fixed a bug where extension loading failed after its folder was viewed in macOS Finder (#8096).
  • Fixed a bug where matches continued to be highlighting when typing an invalid regex during a buffer search.
  • Fixed an issue with switching between invalid regex and simple text buffer search (#7658).
  • Fixed wrong handling of Copilot sign-in status in rare cases.
  • Fixed venv_detection activation not finding directory if space is in the path.
  • Fixed a bug where keystrokes could be lost after focus changes (#7748).
  • Fixed a bug where git_commit grammar wasn't loading.
  • Fixed incorrect file icons for .mjs, .mts, .cjs, .cts (#7804).
  • Fixed incorrect default prettier installation process.
  • Fixed certain LSP requests causing blocking prompts to appear (8255, 8229).

Don't miss a new zed release

NewReleases is sending notifications on new releases.