github zed-industries/zed v0.166.1

latest release: nightly
12 hours ago

Enhancements

General

  • Added support for opening images, either by dropping them onto a pane or by opening them via the command line (#21803).
  • Added left_neighbour option to the tabs.activate_on_close setting to activate the left adjacent tab on tab close (#21800; thanks MrSubidubi).
  • Added show_completions_on_input and show_completion_documentation per-language settings. These settings were available before, but were not configurable per-language (#21722).
  • Added support for language server actions being executed on file rename (#21651).
  • Added editor: insert uuid v4 and editor: insert uuid v7 actions for inserting generated UUIDs into the editor (#21656).
  • Added setting ("project_panel": {"show": "always"}) to display error and warning indicators in tabs (#21383; thanks nilskch).
  • Added editor::OpenContextMenu action to open context menu at current cursor position (#21494).
  • Changed the include warnings toggle in the diagnostic tab to be global for a Zed session (#21618).
  • Improved key equivalents for Norwegian Extended layout (#21665).
  • Linux: Added preliminary support for voice chat and viewing screenshares (#21550).

Languages

  • Added support for *.C and *.H (uppercase) to be recognized as C++ (#21647; thanks budde25).
  • Added JavaScript runnable detection for context and suite methods for mochajs framework (#21719; thanks RemcoSmitsDev).
  • Added YAML and TOML frontmatter highlighting for markdown (#21503; thanks uncenter).

Vim

  • Added delete action to HelixNormal mode (#21544; thanks leroycep).
  • Added [ c & ] c to select prev/next git modified file within the project panel (#20941; thanks Anthony-Eid).
  • Added [ d & ] d to select prev/next file with diagnostics from an LSP within the project panel (#20941; thanks Anthony-Eid).
  • Added { & } to select prev/next directory within the project panel (#20941; thanks Anthony-Eid).

Bug Fixes

  • Fixed missing musl dependency required to build from source on ArchLinux (#21830; thanks connortsui20).
  • Fixed diagnostics editor not scrolling properly under certain conditions (#21209).
  • Fixed completion list moving around on load of documentation. The previous approach to mitigating this was to rate-limit the fetch of docs, configured by a completion_documentation_secondary_query_debounce setting, which is now deprecated (#21716).
  • Fixed right click selection behavior in project panel (#21707; thanks 0xtimsb).
  • Fixed a bug where cmd-escape could act like . (#21667).
  • Fixed a bug where the panel.background color was not used in the file tree (#21559; thanks nilskch).
  • Fixed detection of git remotes when using SSH and username is not "git" (#21508; thanks nickbreaton).
  • Fixed opening git worktrees that were created from a bare repository (#21596).
  • Fixed completion item labels not being updated after the resolve for non-LSP compliant servers (#21521).
  • Fixed an issue with multiline code actions' rendering by forcing them to be single line (#21409; thanks WeetHet).
  • SSH Remoting: Fixed an issue where some dev extensions would not work after being uploaded to the remote server (#21761).

Breaking Changes and Notices

  • editor::ShowInlineCompetion is now option-tab on macOS (not option-/). editor::{Next,Previous}Completion are option-tab and option-shift-tab (not option-[ and option-]). This fixes typing characters generated by option-{/,[,]} on keyboards like Croatian (#21669).
  • In keymap.json "use_layout_keys": true is now the default. If you want to opt-out of this behaviour, set "use_key_equivalents": true to have keys mapped for your keyboard (#21662). See documentation.

Don't miss a new zed release

NewReleases is sending notifications on new releases.