github zed-industries/zed v0.167.0-pre

latest releases: nightly, v0.166.1
pre-release17 hours ago

Enhancements

General

  • Multibuffers now support folding (hiding) results from a given file/buffer together (#22046).
  • Added .prettierignore support to the Prettier integration (#21297; thanks 0xtimsb)
  • Added MoveItemToPane and MoveItemToPaneInDirection actions (#21760; thanks Igonato).
  • Improved editor::OpenUrl to also handle the selected portion of a URL (#21825; thanks 0xtimsb).
  • Clicking on empty space in the Project Panel now deselects all selected items (#22073; thanks 0xtimsb)
  • Improved diff syntax highlighting (#21740; thanks uncenter)
  • Improved performance of the cursor position indicator in single buffers (#21946)
  • gpui: Add linear gradient support to fill background (#20812; thanks huacnlee)
  • Added file icon for metal (#21720; thanks nervenes)
  • Added file icon for gitcommit files (#21935)
  • Added the ability to spawn tasks in the center pane, when spawning from a keybinding (#22004):
    [
      {
        // Assuming you have a task labeled "echo hello"
        "ctrl--": [
          "task::Spawn",
          { "task_name": "echo hello", "target": "center" }
        ]
      }
    ]

Languages and AI

  • Changed how inline completions (Copilot, Supermaven, ...) and normal completions (from language servers) interact. Zed will now also show inline completions when the completion menu is visible. The user can accept the inline completion with <shift-tab> and the active entry in the completion menu with <tab> (#21858, #22069, #22077, #22093).
  • Improved completions menu layout to be more stable and use available space better (#22102).
  • Added Restart Button to Inline Assistant When Prompt Is Unchanged (#20439; thanks g0t4)
  • Improved ElixirLS LSP autocomplete to show module, function and struct field details (#21666; thanks jotaviobiondo).
  • Suggest Cython extension for syntax highlighting of .pyx, .pxd and .pxi files (#22053; thanks lgeiger).

Vim, Emacs and Keymaps: Oh my!

  • Added Editor::DuplicateSelection action. Bound to cmd-d / ctrl-d in JetBrains/SublimeText keymaps (#21154 and #21976; thanks CharlesChen0823)
  • Added Editor && selection context for keybindings that are active when there is a text selection (#21927; thanks ozanmakes).
  • Addded ToggleRegex action (macos: cmd-alt-x, linux: ctrl-alt-x) for buffer search (#21799; thanks CharlesChen0823)
  • vim: Add support for :g/<pattern>/<cmd> and :v/<pattern>/<cmd> (#22177)
  • vim: Add support for [x/]x (#22176)
  • vim: Do not dismiss inline completions when leaving insert/replace mode with <esc> (#22075).
  • vim: Improved cursor shape behavior to better match Vim (#21502; thanks 5brian).
  • emacs: Improved ctrl-a / ctrl-e / home / end behavior (#21923)
  • emacs: Added for ctrl-s / ctrl-r / ctrl-g for navigating buffer search results (#21923)

Settings

  • Added hover_popover_delay to control the delay before showing hover boxes (#22006; thanks AaronFeickert).
  • Added lsp_highlight_debounce to configure delay for querying highlights from language server (#21702; thanks xzbdmw).
  • Added horizontal_scroll_margin and scrollbar.axis settings (#19495; thanks frqubit).
  • Added max_tabs to limit the maximum number of open tabs (#18933; thanks BuonOmo).

Bug Fixes

  • Fixed an issue where the working directory for a task was sometimes incorrectly set as a file instead of a directory (#22004).
  • Fixed task::Spawn sort order so project tasks are shown first. (#21706; thanks IViktorov).
  • Fixed running Python commands with paths that include spaces (#21981; thanks silvanocerza)
  • Fixed splitting terminal items in the center (#22088).
  • Fixed disabled extensions blocking scroll events in the extensions list (#22189).
  • Fixed panic in linked editing ranges (#21905)
  • Fixed panic when jumping between panes (#21948)
  • Fixed panic when streaming language model completions (#21914)
  • Fixed terminal pane tabs arrangement and closing (#22013).
  • Fixed Hover Popover Font Callbacks (#21945; thanks 0x2CA)
  • Fixed opening repos when .git is a soft link (#21153; thanks can2049)
  • Fixed creation of project panel items when the editor is dismissed via the mouse (#21045; thanks CharlesChen0823)
  • Fixed private files not being redacted when not part of a larger worktree (#21861)
  • Fixed language servers starting when doing project search (#21787)
  • Fixed high CPU usage when ignoring warnings in the diagnostics view (#21787)

Don't miss a new zed release

NewReleases is sending notifications on new releases.