github zed-industries/zed v0.169.0-pre

latest releases: nightly, collab-production, collab-staging...
pre-release16 hours ago

Enhancements

General

  • Add workspace::OpenFiles action to enable opening individual files on Linux and Windows (#22625)
  • Improved debug: open language server logs to display more language server data (#22797)
  • Set TERM to xterm-256color in Zed's built-in terminal (#22777)
  • Improved the RemoveFromProject action to remove all selected items (#22455; thanks pepyakin).
  • Improved project panel selection, copying, and deletion behavior, to be more predictable (#22658; thanks 0xtimsb).
  • Improved ExpandExcerpts action (shift+enter by default) so it expands all excerpts that have selected text, rather than just excerpts that contain the end of a selection (#22748).
  • Project panel: pasting a file with a conflicting filename will now automatically open the rename dialog (#19975; thanks Zollerboy1).
  • Improved support for file:// URLs with line numbers in the Zed terminal (#22559).
  • Added fine-grained control of scrollbar diagnostic indicators (#22364; thanks AaronFeickert).
  • Support diagnostic navigation in multibuffers (#22620)

Language Support

  • Python: Added detection for pixi-environments (#22635; thanks YYYasin19)
  • Python auto-venv activation in terminal now checks for path existence before executing the activate script. (#22792).
  • Python: Fixed for running pip commands inside a virtual environment on Windows 11. (#22587; thanks TorratDev)
  • Ensure end >= start in lsp::Range (fixes some Zig zls crashes; perhaps others) (#22690; thanks unexge).
  • Improved Tree-sitter support with added compatibility for standard injections captures (#22268; thanks uncenter)
  • Fixed gopls path construction on Windows 11 (#22727; thanks TorratDev).

AI

  • Added support for Google's Gemini 2.0 Flash experimental model (#22665; thanks respberryx).
  • Added support for the Claude 3.5 Haiku model (#22323; thanks saahityaedams).
  • Added the ability to specify additional beta headers for custom Anthropic models (#20551; thanks rowillia).
  • Fixed inline completions showing up in Vim normal mode (#22439; thanks zeux).

Vim, Emacs, and Keybinds

  • vim: Add 'g J' JoinLines and JoinLinesNoWhitespace (#22496; thanks 0x2CA)
  • vim: Add aq/iq "any quote" text objects that are the smallest of a", a' or a` (#22263; thanks oca159)
  • Fixed a panic in vim text objects in multibuffers (#22753)
  • Fixed Y so it yanks entire line instead of selection (#22416; thanks 0x2CA)
  • Improvements to emacs keybindings (#22590 and #22629; thanks rosstimson).:
    • Better support for running emacs inside Zed terminal (e.g. ctrl-x ctrl-c will quit emacs in terminal not zed)
    • alt-; Toggle Comments
    • alt-^ Join Lines
    • ctrl-/ Undo
    • alt-. GotoDefinition and alt-, GoBack
    • alt-< / alt-> Goto End/Beginning of Buffer
    • alt-g g or alt-g alt-g Goto Line Number
    • ctrl-x h SelectAll
    • ctrl-x b Switch Tabs
    • ctrl-g Menu::cancel
    • ctrl-x 5 0 CloseWindow
    • ctrl-x 5 2 as workspace::NewWindow
  • Added keyboard navigation for menus on Linux (left/right/up/down). (#22074; thanks 0xtimsb). If you wish to open menus with keyboard shortcuts add the following to your user keymap:
      {
        "context": "Workspace",
        "bindings": {
          "alt-z": ["app_menu::OpenApplicationMenu", "Zed"],
          "alt-f": ["app_menu::OpenApplicationMenu", "File"],
          "alt-e": ["app_menu::OpenApplicationMenu", "Edit"],
          "alt-s": ["app_menu::OpenApplicationMenu", "Selection"],
          "alt-v": ["app_menu::OpenApplicationMenu", "View"],
          "alt-g": ["app_menu::OpenApplicationMenu", "Go"],
          "alt-w": ["app_menu::OpenApplicationMenu", "Window"],
          "alt-h": ["app_menu::OpenApplicationMenu", "Help"]
        }
      }

Bug Fixes

  • Fixed Project Panel toggle (cmd-shift-e / ctrl-shift-e) so it works in more contexts (#22713).
  • Fixed SSH remoting in the case that ssh defaults to a non-$HOME directory (#22744).
  • Added an error alert when there's an error opening file with native OS picker (#22671; thanks spotikhanov)
  • Fixed Rust runnable not detected when comment is after #[test] attribute (#22823; thanks RemcoSmitsDev).
  • Fixed a panic after disconnecting from a remote project (#22806)
  • Fixed bundle-mac script to generate licenses (#22800)
  • Fixed an issue where items on the Welcome page could not be toggled on Windows, either on first launch or when settings.json is a symlink (#22660; thanks 0xtimsb.
  • Fixed terminal incorrectly inheriting TERM from the parent environment (#22615; thanks JuliusDeBoer)
  • Reduced amount of workspace serialization happening (#22730)
  • Fixed empty title in Recent Projects (#21952; thanks huacnlee).
  • Fixed target file from being trashed when trashing symlink on Linux (#22704; thanks 0xtimsb)
  • Pinning a preview tab will now turn off preview mode (#22501; thanks Hmikihiro)
  • gpui: Fixed an issue where shadows with a blur_radius of 0 would not render (#22441)
  • Fixed ghost files appearing in the project panel when clicking relative paths in the terminal (#22688; thanks 0xtimsb).
  • Fixed inlay hints not showing while using theme selector (#22605).
  • Fixed zed cli crash (ScreenCaptureKit library not loaded) on older macOS versions (#22515; thanks huacnlee)
  • Fixed issue where Welcome page could alter settings on Linux when Zed settings.json was a Symlink (dotfiles, etc) (#22608; thanks 0xtimsb).
  • Fixed robotgo failing when Zed window is open on Linux (#22348; thanks 0xtimsb).
  • Fixed cursor style not changing on hover over items in the title bar on Windows (#22580; thanks 0xtimsb).

Breaking changes

  • Renamed the OpenFile action to OpenSelectedFilename for clarity (#22494)

Don't miss a new zed release

NewReleases is sending notifications on new releases.