github zed-industries/zed v0.157.0-pre

latest releases: collab-production, collab-staging, v0.157.1-pre...
pre-release10 hours ago

Enhancements

General

  • Added support for color swatches in the language server completions list (#18665; thanks thecrypticace).
  • Streamlined the creation of new branches from the branch selector (#18712).
  • Added a notice in the activity indicator if an error occurs while loading the shell environment (#18567; thanks WeetHet).

Languages

  • Added runnables for main functions in C (#18720; thanks talal).

Example task configuration:

[
  {
    "label": "Run ${ZED_STEM}",
    "command": "gcc",
    "args": [
      "$ZED_FILE",
      "-o",
      "${ZED_DIRNAME}/${ZED_STEM}.out",
      "&&",
      "${ZED_DIRNAME}/${ZED_STEM}.out"
    ],
    "tags": ["c-main"]
  }
]

Vim

  • Added regex and caseSensitive arguments to vim::MoveToNext and vim ::MoveToPrev commands, for toggling regex and case sensitive search (#18429; thanks osa1).

Example:

{
  "context": "VimControl && !menu",
  "bindings": {
    "*": ["vim::MoveToNext", { "regex": false, "caseSensitive": false }],
    "#": ["vim::MoveToPrev", { "regex": false, "caseSensitive": false }]
  }
}

Bug Fixes

  • Fixed completion items being applied improperly on fast typing (#18907).
  • Fixed an issue where diff hunks at the boundaries of multi buffer excerpts could not be expanded (#18885).
  • Fixed external formatters not being found, even when they were available in the $PATH of a project (#18611).
  • Fixed option-t and option-shift-t in terminal on macOS (#18749).
  • Fixed code action list not being horizontally aligned correctly (#18748; thanks RemcoSmitsDev).
  • Fixed tab switcher icons not respecting the tabs.git_status setting (#18733; thanks Daste745).
  • Linux: Fixed a bug where the cursor would be the wrong size on Wayland (#18642).

Breaking Changes and Notices

  • Removed built-in support for Protocol Buffers, in favor of making it available as an extension. The Protocol Buffers extension will be suggested for download when you open a .proto file (#18704).

Don't miss a new zed release

NewReleases is sending notifications on new releases.