Software 43192 Published by

Zed 0.182.9 has been released, featuring a range of enhancements. These include support for screensharing on X11 (Linux), a button for accessing project search from the status bar, an editor equipped with a toggle case command, warnings for leading or trailing whitespace, integration of tasks from rust-analyzer, and the capability to spawn tasks by tag using key bindings.

The project panel currently displays an error when attempting to rename or create a new file or directory that already exists. The keybindings for closing all tabs have been enhanced to align more closely with the behavior of VSCode. The enhancements to multi-buffer excerpts now allow for merging upon expansion. The default model of Zed's hosted LLM service has been updated to Claude 3.7 Sonnet. An activity indicator for extended git commands has been implemented. Languages have seen enhancements, including the incorporation of the insert_text_mode field within completions, as outlined by the language server protocol. The highlighting for Bash heredoc has seen enhancements, and installations of pylsp managed by Zed will now perform self-upgrades accurately. LSP completions have been enhanced with the addition of actions ConfirmCompletionInsert and ConfirmCompletionReplace, along with a new setting for completions. The lsp_insert_mode feature has been implemented. Improvements have been implemented, addressing incorrect excerpt comparisons, invalid read-only settings with split panes, system panic during shutdowns, and challenges related to compiling development extensions using Tree-sitter grammars on Linux aarch64.





Zed 0.182.9

Enhancements

  • Added support for screensharing on X11 (Linux). ( #27807)
  • Added a button to open the project search to the status bar. ( #28388)
  • Added an editor: toggle case command. Use cmd-shift-u for macOS and ctrl-shift-u for Linux, when using the JetBrains keymap. ( #28415)
  • Added warning for leading or trailing whitespace while renaming or creating new file or directory in Project Panel. ( #28215)
  • Added tasks from rust-analyzer. ( #28359)
  • Added ability to spawn tasks by tag with key bindings. ( #25650; thanks  aevsai)
  • Added tags to tasks selector. ( #25650; thanks  aevsai)
  • Added --user-data-dir CLI flag ( #26886)
  • Improved runnable detection for test modules in Rust. ( #28024; thanks  MrSubidubi)
  • Improved contrast of terminal ANSI colors in Gruvbox theme(s). ( #27166; thanks  dallinhuff)
  • Improved the project panel to show an error when a file or directory already exists while renaming or creating a new one. ( #28177)
  • Improved keybindings for close all tabs to better match VSCode behavior. ( #28060)
  • Improved multi buffer excerpts to merge when expanded. ( #27893)
  • Changed the default model of Zed's hosted LLM service to Claude 3.7 Sonnet. ( #28541)

Git

  • Added an activity indicator for long-running git commands. ( #28204)

Languages

  • Added support for the insert_text_mode field of completions from the language server protocol. ( #28171)
  • Added a way to temporarily stop LSP servers. ( #28034)
  • Improved Bash heredoc highlighting. ( #28185; thanks  chbk)
  • Zed-managed pylsp installations will now correctly upgrade themselves. ( #28338)
  • LSP completions: added actions ConfirmCompletionInsert and ConfirmCompletionReplace that control how completions are inserted, these override completions.lsp_insert_mode, by default, shift-enter triggers ConfirmCompletionReplace which replaces the whole word. ( #28121)
  • Added new setting completions.lsp_insert_mode that changes what will be replaced when an LSP completion is accepted. ( #27453; thanks  frederik-uni)

Vim

  • Added motions from the  indent wise plugin [-]-[+]+[=]=. ( #28044; thanks  5brian)
  • Switch to the configured default mode after paste instead of hard-coding Normal mode. ( #27897; thanks  jneem)
  • Expanded default helix-style keybindings in experimental HelixNormal mode. ( #28103; thanks  jneem)

Bug Fixes

  • Fixed incorrect excerpt comparison when replacing them. ( #28828)
  • Fixed a regression where code-actions used when formatting on save were rejected if they contained commands. ( #28392)
  • Fixed invalid read-only with split pane. ( #28012; thanks  0x2CA)
  • Fixed a panic that could occur when paths changed in the project diff. ( #28364)
  • Fixed an issue when using auto-import code actions provided by pyright (or basedpyright) where the import would be jumbled with the scoped import resulting in an invalid result. ( #28354)
  • Fixed a panic during shutdown of the remote server. ( #28290)
  • Fixed an issue where new participants were not muted when the room was deafened. ( #28330)
  • Fixed mouse selection scrolling too fast in both editor and terminal. ( #28309)
  • Fixed text selection misalignment in terminal when the inline assistant is active. ( #26112; thanks  flappyBug)
  • Fixed compiling dev extensions with Tree-sitter grammars on Linux aarch64. ( #27906; thanks  jkbz64)
  • Fixed an issue where pasting code starting with a new line resulted in incorrect auto indent. ( #28134)
  • Fixed a bug where ^ wasn't being escaped in Go tests. Run regex to improve shell compatibility (notably with zsh). ( #27746; thanks  jakejx)
  • Fixed an issue causing "robot voice" when enabling the microphone on some bluetooth headphones (hopefully). ( #28045)
  • Fixed an issue where the active line number in the editor was not always highlighted. ( #28015; thanks  MrSubidubi)
  • Fixed missing background for inline code blocks in the editor hover tooltip. ( #27980)
  • Fixed a bug where Zed sometimes added multiple redundant FS watchers when language servers requested to watch paths. This could cause saves and git operations to fail if Zed exceeded the file descriptor limit. ( #27957)
  • Fixed certain case where typing closing bracket would skip it when auto close setting is turned off. ( #27960)
  • Fixed issue where selection wasn't working for info and diagnostic popovers. ( #28642)
  • Fixed an issue with using non-streaming Copilot Chat models (e.g., o1, o3-mini). ( #28537)
  • Fixed a panic when LSP tasks are queried in certain multi buffer excerpts. ( #28538)
  • Git: Fixed an issue where non-UTF8 files in a git diff would generate log spam. ( #28276)
  • Git: Fixed a bug causing the git panel to not update after pushing to a remote. ( #28327)
  • Vim: Fixed visual line yank while on the newline character yanking following line. ( #28005; thanks  5brian)
  • Vim: Fixed paste action to switch back to the configured default mode. ( #28304; thanks  jneem)
  • Vim: Fixed visual object expands. ( #28301; thanks  0x2CA)

Breaking Changes and Notices

  • If using system node Zed now requires Node >= v20. Previously Node >= v18 was required. (Node v18 EOL date is 2025-04-30; Node v19 EOL since 2023-06-01). Note: This does not change the Zed bundled Node runtime version (still v23). ( #27912; thanks  thorbenk)

Screenshot_from_2024_07_12_09_18_19

v0.182.9