github zed-industries/zed v0.172.8

latest releases: collab-production, v0.173.3-pre, nightly...
11 hours ago

Users have been asking us for a long time to give them the ability to customize their file icons:

file-icons-issue

With today's release of icon themes, this is now possible! 🎉

feature-image

Enhancements

General

  • Added support for icon themes (#23987).
    • Extensions can now provide icon themes.
    • Use the icon theme selector: toggle action to switch between installed icon themes.
  • Added precise drag-and-drop for files onto folded directories in the Project Panel (#22983; thanks 0xtimsb).
  • Added functionality to expand or collapse a directory and all its contents (alt+click) (#22896; thanks 0xtimsb).
  • Added Open File action in file menu for Linux and Windows (#23707; thanks 0xtimsb).
  • Added a new show_tab_bar_buttons setting, under tab_bar, that enables hiding the pane tab bar buttons (#23752).
  • Added auto-completion support for snippet files (#23698; thanks loczek).
  • Added an editor: open selections in multibuffer (alt-enter) command (#23644).
  • Added Copilot Chat support for o3-mini and remove support for o1-mini (#24080; thanks SkywardSyntax).
  • Improved terminal hover word matching (#23776).
  • Improved diff rendering, allowing you to navigate with your cursor inside of deleted text in diff hunks (#22994).
  • Improved editor horizontal autoscroll to now place the cursor to the left of the scrollbar rather than under it (#23586).
  • Improved the task modal by using the full task label when it does not require truncation (#23611).
  • Improved project search performance in worktrees with binary files (#23581).
  • Improved the Copy Permalink menu item by disabling it when not in a Git repository (#23350; thanks Swiftaff).
  • Improved workspace: new window action to now bring app to foreground (#24015).
  • Improved default inline_completions.disabled_globs (#24051).
  • Revised "Hide/Show Inline Completions" menu.
  • Errors in settings file are now reported in UI on startup (#23817).

Language Support

  • Added Python syntax highlighting for class- and module-level docstrings, additional docstrings, and improved recognition of function-level docstrings (#20898; thanks jfmontanaro).
  • Improved support for yaml-language-server as YAML formatter (#23612).
  • Language servers now track their working directory more accurately (#23473).

AI

  • Accepting completions while the cursor is in the middle of suggested completion will now result in smaller edits being applied (#23490).

Vim, Emacs, and Keybinds

  • Vim: Added ab/ib "AnyBrackets" text objects that are the smallest of a(, a[ or a{ or i(, i[ or i{ (#23679; thanks oca159).
  • Vim: Added support for ctrl-g and {count} ctrl-g to show the filename in the status bar (#23562).
  • Vim: Fixed aq/iq "AnyQuotes" text objects when they are nested (#23679; thanks oca159).

Bug Fixes

  • Fixed terminal drag and drop, including project panel items (#23827).
  • Fixed inline Git blame not visible on long lines due to overflow (#23374; thanks 0xtimsb).
  • Fixed project_panel::NewDirectory, editor:: NewlineAbove in TextMate keymap (#23825; thanks huacnlee).
  • Fixed .gitignored files filter occasionally not working in context file picker (#23777).
  • Fixed an issue where snippets would not update when a snippets file contained comments (#23755; thanks loczek).
  • Fixed the issue where a file outside of the workspace was opening in a random window instead of the last active window (#23726; thanks 0xtimsb).
  • Fixed ZED_WORKTREE_ROOT incorrectly pointing to a file. Now points to a directory when current file is a project or unset when in out-of-project files (settings.json, tasks.json, etc) (#23150; thanks aborg-dev).
  • Fixed incorrect UTF-8 characters handling in GoToLine and caret position (#23654).
  • Fixed some instances of disabled list items still registering clicks (#23569).
  • Fixed The path /.../tsserver.js doesn't point to a valid tsserver install. Falling back to bundled TypeScript version. pop-up appearing (#23525).
  • Fixed panics on opening repositories with empty remotes (#23520).
  • Python: Fixed venv activation script path showing up in terminal for non-existent scripts (#23476).
  • Fixed a crash that could happen when expanding certain diff hunks (#23990).
  • Fixed a bug where diff hunks were not syntax highlighted when reopening a project with previously-opened buffers (#23990).
  • Fixed an issue in certain themes where diffs would render with the wrong red and green colors for deletions and insertions (#24151).
  • Fixed some modifier changed events not being present on Linux X11. This affected things like the project search palette, where holding ctrl would not cause the split options to appear (#24154).
  • Fixed multiple save modals appearing when app is being closed multiple times (#24180).
  • Fixed a panic when deleting text after a deletion hunk (#24280).
  • Fixed missing git blame and status output in some projects with multiple git repositories (#24283).
  • Fixed a bug where Zed could crash with certain input sources on macOS (#24286).

Breaking changes

  • Changed editor: open excerpts split key binding to cmd-alt-enter on macOS and ctrl-alt-enter on Linux, to be more consistent with other actions that open files in a new split (#23646).

Don't miss a new zed release

NewReleases is sending notifications on new releases.