github zed-industries/zed v0.127.0-pre

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

Enhancements

Languages

  • Added @callback, @type and @typep Elixir symbols in outline view.
  • Added autoclosing of ( and ' in Lua.

Vim

  • Added option use_smartcase_find.
  • Added subword motions.
  • Added [x and ]x as default keybindings to select larger and smaller syntax nodes respectively.

Collaboration

  • Added autocompletion for emojis in chat when typing emoji shortcodes (#7299).
  • Added support for automatically replacing emoji shortcodes in chat (e.g. typing ":wave:" will be converted to "👋").
  • Reworked date time formatting in the chat and the notification panel.
  • Added hover style to notifications and hovering tooltip on timestamps.
  • Improved sign in latency by 40ms.
  • Improved message hovering in chat panel.
  • Reduced likelihood of being disconnected during deploys.

General

  • Added editor::RevertSelectedHunks (cmd-alt-z by default) for reverting git hunks from the editor.
  • Added support for opening files on the zed protocol open zed://file/Users/example/Desktop/a.txt (#8482).
  • Added -n/--new and -a/--add to the zed CLI. When neither is specified, if you open a directory you get a new workspace, otherwise files are added to your existing workspace. With --new files are always opened in a new workspace, with --add directories are always added to an existing workspace. (#9076, #4861, #5370).
  • Added a double_click_in_multibuffer setting. When select is used, the multi-buffer behaves the same as a singleton buffer, when open is used, the excerpt is opened in a new tab (same as editor: open excerpts) (#5275).
  • Added support for overriding the current theme's syntax font styles and weights in settings (#9121).
  • Added support to click on LineColumn on StatusBar to open the go to line modal.
  • Added ESLint config nodePath.
  • Added strikethrough to deprecated methods in completions menu (#8390).
  • Added ZED_SELECTED_TEXT task variable which contains contents of selection.
  • Added message to activity indicator if last attempt to format a buffer failed. Message will get reset when next formatting succeeds. Clicking on message opens log with more information. (#8072 and #9061).
  • Added syntax highlighting to code blocks in markdown preview.
  • Improved cmd-click navigation around the editor: now, if cmd-click did not find a reference to go to, Zed calls FindAllReferences (#5351).
  • Improved FindAllReferences action by not allowing concurrent requests for the same multi buffer source (#9242).
  • Improved performance when loading large files.
  • Improved the zed command to not create files until you save them in the editor (#7400).
  • Improved the size and position of the hitbox for resizing left, right, and bottom panels. (#8855).
  • Improved Copilot configuration modals by allowing ESC to close the modals (#8852).
  • Improved the UI of popover buttons when hovering over chat messages.
  • Improved task modal UX with long bash-like commands.
  • Improved zed: Open Log action to not mark the opened log file as dirty and to always scroll to the bottom of the log.

Bug Fixes

  • Fixed a bug that was causing popovers to flicker (#9010).
  • Fixed the double-click action on the terminal tab bar opening a new buffer instead of a new terminal (#9003).
  • Fixed a bug where empty panes could be created during drag & drop (#9198).
  • Fixed the pane resize handler not consistently triggering on mouse hover.
  • Fixed focus not being consistently changed when switching between multiple Zed windows via cmd-backtick.
  • Fixed editor layout for large files, where the lines might have been laid out with incorrect Y offset from the top (#5371).
  • Fixed language server glob patterns for file watching being ignored if they were relative patterns.
  • Fixed language servers not being notified of file changes if language server registers for file-notification right after starting up. (#8896).
  • Fixed word boundaries in Ruby by restoring old behavior (@, :, ... are no longer considered word characters) (#9069).
  • Fixed completions being filtered out when they happened at word boundaries on special characters (e.g. :).
  • Fixed URL detection at very beginning and very end of buffer (#9210).
  • Fixed a rendering glitch that could cause code actions to not display correctly (#8341)
  • Fixed a bug that would cause hover information to not be dismissed when hovering over negative space (#8340).
  • Fixed copilot suggestions not disappearing after disabling the tool (#6793).
  • Fixed empty channel notes always showing as unread.
  • Fixed font ligatures not always respecting the setting (#4313).
  • Fixed empty tooltip on Recent Projects.
  • Fixed a bug where the ZED_FILE task environment variable contained a relative path, not an absolute one.
  • Fixed a bug where the project panel icon was bouncing when renaming.
  • Fixed some slowness when collaborating with verbose language servers.
  • Fixed scrolling position restoration in the Project Panel.
  • Fixed scroll position in markdown preview when editing a markdown file (#9208).
  • Fixed a bug where prettier plugins were being ignored (#8841).
  • Fixed panics when .git was opened as a Zed worktree (#9174).
  • Fixed a panic that could occur when displaying too many breadcrumbs. (#9079).
  • Fixed a segfault that could show up when closing windows.

Breaking changes

  • Removed git_commit syntax highlighting. The Git Firefly extension covers this functionality now.
  • Changed default keybindings in the VS Code keymap so that alt-[up|down] now move lines up/down and alt-shift-[up|down] duplicate lines up/down. Previous bindings for selecting larger/smaller syntax nodes are now bound to ctrl-shift-[left|right] (#4652, #7151).

Don't miss a new zed release

NewReleases is sending notifications on new releases.