github zed-industries/zed v0.165.4

latest releases: nightly, collab-staging, v0.167.1-pre...
10 days ago

Enhancements

General

  • Added the ability to split the terminal panel (#21238).
  • Added an uninstall script. To uninstall zed, run zed --uninstall via the CLI binary (#21213; thanks WeetHet).
  • GIF images now play when opened (#21274; thanks dovakin0007).
  • Reduced the amount of completionItem/resolve calls done in the completion menu (#21286).
  • Improved suggestions for snippets (#21524; thanks 0xtimsb).
  • Improved outline panel opening behavior to so the editor centers on the selection (#21375)
  • Stop scrolling when clicking to the edges of the visible text area. Use autoscroll_on_clicks to configure this behavior. (#20287; thanks haruleekim)
  • Published updated JSON Schema for themes v0.2.0.json (#21428).
  • Added "Copy Extension ID" to extension details menu (#21395; thanks uncenter).
  • Removed project panel Trash action for remote projects. (#21300; thanks Moshyfawn)
  • Enabled toolchain virtual environment in new terminals (#21388; thanks [sn1c]
  • Added show_user_picture setting (default: true) to allow users to hide their profile picture in titlebar (#21526).

Languages

  • Added textobject support to erlang, haskell, lua, php, prisma, proto, toml, and zig (#21488)
  • Added new editor::FoldFunctionBodies action to fold all function bodies (textobject languages only) (#21504)
  • Improved runnable detection for JavaScript/Typescript files (#21246; thanks RemcoSmitsDev).
  • Added Python syntax highlighting for forward references (#20766; thanks JaagupAverin).
  • Enabled clangd's dot-to-arrow feature (#21142; thanks feeiyu).
  • Added support for running Rust examples as tasks (#21412).
  • .pcss files are now recognized as CSS (#21402; thanks MrSubidubi)
  • Add V file icon (#20017; thanks spytheman)

Vim

  • Added == indent line (#21490)
  • Added settings to control highlight_on_yank or highlight_on_copy (#21479; thanks RustyDev24).
  • Added motions [[, [], ]], ][ for navigating by section, [m, ]m, [M, ]M for navigating by method, and [*, ]*, [/, ]/ for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924).
  • Added new text objects: ic, ac for inside/around classes, if,af for functions/methods, and g c for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries (#20924).

Bug Fixes

  • Fixed incorrect "close tab" keybinding shown in context menu of the terminal panel tabs on Linux and Windows (#21254).

  • Fixed buffer search for queries ending with non-letter characters (#19152; thanks CharlesChen0823).

  • Fixed underline when hovering a code link not showing when multi_cursor_modifier is cmd_or_ctrl (#20949; thanks remixz).

  • Fixed cursor position displaying when no buffers open (#21295).

  • Fixed folds not opening when jumping from search results multibuffer (#21433)

  • Fixed diagnostics status bar flashing when typing (#21463).

  • Fixed AI Context menu text wrapping causing overlap. (#21438; thanks huacnlee)

  • Fixed showing prev/next hunk navigation buttons when there is only one hunk (#21437)

  • Fixed workspace serialization of collapsed panels (#21408)

  • Fixed item closing overtly triggering save dialogues (#21374).

  • Fixed Copilot Chat OAuth Token parsing (#21360; thanks fred-sch).

  • Fixed mouse cursor size and blur issues on Wayland (#21373; thanks 0xtimsb)

  • Fixed Zed not visible in the "Open with" list in the file manager for Flatpak. (#21177; thanks 0xtimsb)

  • Fixed a panic when folding in a multibuffer (#21511).

  • Fixed a rare panic when changing tab (#21510)

  • Fixed a panic when closing tabs containing new unsaved files (#21480).

  • Fixed an issue where the app could crash when opening the markdown preview with a malformed image tag (#21616)

  • Fixed an edge case with appliance of autocompletions in VTSLS that could result in incorrect edits being applied. (#21755)

Breaking Changes and Notices

  • Linux: Fixed issue where files wouldn't open from the file explorer (#21137; thanks 0xtimsb).
    • This only fixes the .desktop file created for new users.
    • Existing users will need to run install.sh again or manually edit their zed.desktop to receive this fix.

Don't miss a new zed release

NewReleases is sending notifications on new releases.