Skip to content

v0.141.0-pre

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jun 18:57
· 242 commits to main since this release

Enhancements

General

  • Added an outline panel to show a "map" of the active editor. Toggle the outline panel via outline panel: toggle focus.

Pair the outline panel with the search multi-buffer to get a better overview of your search results!

outline panel

  • Added support for snippets via simple-completion-language-server (#4611). To begin using snippets, install the snippets extension from the extension store:

snippets

Place your snippet files in ~/.config/zed/snippets. For instance, in your ~/.config/zed/snippets/snippets.json file, you may have:

{
  "my snippet": {
    "prefix": "log",
    "body": ["console.log(\"$1\")"],
    "description": "Expand `log` to `console.log()`"
  }
}

For more configuration information, see the simple-completion-language-server instructions.

  • Added support for dropping files from the finder onto the project panel (#7386).
  • Added a 'selection and movement' tool to the Editor's toolbar, as well as controls to toggle it and a setting to remove it ("toolbar": {"selections_menu": true/false }).
  • Changed the behavior of the + menu in the tab bar to use standard actions and keybindings. Replaced New Center Terminal with New Terminal, and New Search, with the usual Deploy Search. Also added item-creating actions to this menu.
  • Improved performance of project panel in large worktrees.
  • Improved the look of code action and run indicators in the gutter (#12803).
  • Improved the style of disclosure controls throughout the UI.

AI

  • Improved the behavior of inline assist so that it no longer closes when an editor loses focus (e.g., from switching tabs) and then gains focus again. Instead, it only closes when you move the cursor outside of it, e.g., by clicking somewhere else in its parent editor.

Languages

  • VTSLS is now a default language server for TypeScript, TSX, and JavaScript.
  • Improved quality of auxiliary details in completions returned by VTSLS.
  • Added a more detailed message in place of the generic checking... messages when Rust-analyzer is running.
  • Added a rate limit for language server status messages, to reduce noisiness of those updates.
  • Added a cancel language server work action which will cancel long-running language server tasks.
  • Added the ability to cancel a cargo check by clicking on the status bar item.
  • Improved syntax highlighting in Python (#12578).

Before

After

Vim

  • Added pending keys to the mode indicator in Vim mode.
    • See it in action here.
  • Added support for register selection "a-"z, "0-"9, "-. "_ and "% (#11511).
  • Added support for multicursor registers (#11687).
  • Added support for the "/ register.
  • Added gv to restore previous visual selection (#12888).
  • Added support for ctrl-r X to paste in insert mode (#4308).

Bug Fixes

  • Fixed a bug where the selected tab was not always shown when cycling between tabs with ctrl-tab.
  • Fixed a possible hang when opening a worktree in a .git directory
  • Fixed snippet completions sometimes being treated as plain text completions when using VTSLS (#12920).
  • Fixed the Hide Copilot context menu item to modify the appropriate setting.
  • Fixed a panic when editing C code (#13128).
  • Vim: Fixed home and end in visual mode (#13068).
  • Vim: Fixed inserting a 0 in insert mode with a count (#9383).
  • Vim: Fixed gi when the insert ended at the end of a line (#12162).
  • Vim: Fixed gl when the first match is at the end of a line.
  • Vim: Fixed behavior of dw at the end of a soft wrapped line.
  • Vim: Fixed ci" on keyboards where typing a " requires the IME (#12523).
  • Vim: Fixed an issue where held-down modifier keys (such as Shift) would interrupt continuous key events, affecting navigation and selection behavior (#12566).

Breaking changes

  • Removed the language_overrides alias for the languages setting, the copilot alias for the inline_completions setting, and the show_copilot_suggestions alias for the show_inline_completions setting. If you have settings under language_overrides, copilot, or show_copilot_suggestions, they should get moved to languages, inline_completions, and show_inline_completions, respectively. (#13171 ).