Skip to content

Releases: zed-industries/zed

v0.161.0-pre

06 Nov 20:32
Compare
Choose a tag to compare
v0.161.0-pre Pre-release
Pre-release

🍂🎉 Quality Week Fall 2024 is this week! 🐛🐞🐜 + 🔨💥 = 😵⚰️!

Enhancements

General

  • Added scrollbar to info popovers in editor (#20184).
  • Added auto-scrolling to project panel when a vertical edge of a panel is hovered with a dragged entry (#20207).
  • Added option to dim inactive panes (#18968; thanks aexvir).
  • Added option to highlight active pane with a border (#18968; thanks aexvir).
  • Added auto_indent_on_paste setting, which can be used on a per-language basis, to configure whether indentation should be adjusted when pasting. This setting is enabled by default for languages other than YAML and Markdown (#20193).
  • Added a new reveal option for tasks: "no_focus". If used, the tasks terminal panel will be opened and shown, but not focused (#19901).
  • Added a new editor: spawn nearest task action that spawns the task with a run indicator icon nearest to the cursor. It can be configured to also use a reveal strategy (#19901).
{
  "context": "EmptyPane || SharedScreen || vim_mode == normal",
  "bindings": {
    ", r t": ["editor::SpawnNearestTask", { "reveal": "no_focus" }],
  }
}
  • Improved editor performance with large # of diagnostics (#20189).
  • Improved sort order in completions to show relevant matches first (#20145; thanks 80avin).
  • Improved project search functionality by reusing the query from the focused buffer's local search (#20253).
  • Improved large project search performance (#20211).
  • Improved workspace::SendKeystrokes to support re-binding keys. For example you can now do: "x": ["workspace::SendKeystrokes", "\" _ x"] in vim mode to ensure that x does not clobber your clipboard (#20277).
  • Updated the settings schema to allow null as a value for optional settings instead of showing a warning (#20192).
  • Added debug: open theme preview action to the command palette to preview the current theme's styles (#20039).
  • Added optional ignore_indent parameter to editor::ToggleComments to place comment characters at the left margin. You can make this the default by adding "ctrl-/": ["editor::ToggleComments", { "ignore_indent": true }] to your keymap.json in the Editor context (#19746; thanks NichtJens).
  • Added debug: Open Key Context View action to command palette to help debug custom key bindings (#19872).
  • Added scrollbars to outline panel (#19969).
  • Added \u2028 and \u2029 as invisible characters. Previously these were treated as \n (#19712).
  • Markdown Preview: Added button to copy code blocks (#19312; thanks Irilith).
  • Markdown Preview: Added detection to update when file was changed outside of the editor (#20175).

AI

  • Improved memory footprint for inline transformations (#20296).
  • Moved the text selection action to a slash command (/selection) in the assistant panel (#19988; thanks marechaux).
  • Diagnostics are no longer automatically attached as context to /tab, /file slash commands in the Assistant Panel. Use /diagnostics to include them if desired (#20297).

SSH Remoting

  • Improved latency of connecting (#20220).
  • Improved keyboard navigation in SSH modal (#19894).
  • Fixed duplicated SSH Remote Projects (#20271; thanks AidanV).

Languages

  • Added support for autoclosing braces {} and single quotes '' in Shell Scripts (#20278).
  • Added support for git worktrees. Zed can now open git worktrees and the git status in them is correctly handled (#20164).
  • Go: Improved go test ./... and go generate ./... commands to run in the go module directory rather than the current package directory (#20190; thanks rpadaki).
  • Go: Added runnable and tasks for go generate commands (#19987; thanks rpadaki).
  • C/C++: Fixed info popups from clangd missing information (#20090).

Vim

  • Added r and a as aliases for [ and < text objects (copying vim-surround) (#20104; thanks mike-lloyd03).
  • Added :noh[lsearch] (#20056).
  • Added ctrl-v/ctrl-q to type any unicode code point. For example ctrl-v escape inserts an escape character(U+001B), or ctrl-v u 1 0 E 2 types ტ (U+10E2). As in vim ctrl-v ctrl-j inserts U+0000 not U+000A. Zed does not yet implement insertion of the vim-specific representation of the typed keystroke for other keystrokes (#19585).
  • Added ctrl-shift-v as an alias for paste on Linux (#19585).
  • Extended ctrl-w to work in non-editor contexts. E.g. markdown preview and screen shares (#20058).
  • Fixed r, ~ etc. appearing to modify readonly buffers (#20264).
  • Fixed some shortcuts to render correctly in Command (#20254).
  • Fixed q and @ in visual mode (#20261).
  • Fixed paragraph object in the presence of softwrap (#20259).
  • Fixed search in the assistant panel (#20258).
  • Fixed d G in not deleting until the actual end of the document if soft-wrap is turned on (#20160).
  • Fixed o not scrolling new head into view (#20054).
  • Fixed gu$ missing last character of the line (#20057).
  • Fixed surrounds to allow b/B/r/a anywhere you could use (, {, [, < (#20104; thanks mike-lloyd03).

Bug Fixes

  • Fixed a crash that could happen when closing a workspace with pinned untitled buffers (#20294).
  • Fixed undo and redo macOS menu items being always disabled (#20293).
  • Fixed project panel losing focus after file creation attempt (#20273).
  • Fixed an issue that prevented removing key bindings for actions used in the macOS application menu (#20268).
  • Fixed a bug where rewrapping with a long word at the start of the line would cause a new line to be inserted (#20256).
  • Fixed a bug where Zed would create a new temporary file on each boot for telemetry logs (#20209).
  • Fixed python toolchain detection when worktree local path is set (#20229; thanks WeetHet).
  • Fixed mouse cursor shape flickering in project and outline panels when crossing items (#20202; thanks stippi).
  • Fixed an issue where single quotation marks were spuriously auto-closed when typing in line comments (#20206).
  • Fixed extend/shrink selection on JetBrains keymap (#20199; thanks trin94).
  • Fixed an issue in TypeScript where @vtsls/language-server may not have been updated to the latest version (#20197).
  • Fixed unhelpful auto-indent suggestions in markdown (#20193).
  • Fixed a bug in macOS Sequoia where you couldn't save a new file as *.sql, as it would rename to .sql.s (#20195). As a side effect you can no longer save a new file as *sql.s. We hope to remove this workaround w...
Read more

v0.160.7

06 Nov 18:31
4f88d58
Compare
Choose a tag to compare

Enhancements

General

  • Added support for new models with GitHub Copilot Chat (OpenAI o1-mini, o1-preview; Anthropic Claude 3.5 Sonnet (#19968)).
  • Added support for zed://ssh/<connection>/<path> (#19970).
  • Added support to show invisible characters in the editor (#19846).
  • Added support for self-hosted GitLab instances when generating Git permalinks (#19909).
    • The instance URL must have gitlab somewhere in the host in order to be recognized.
  • Added feature to show commit summary as part of the inline Git blame (#19759; thanks pjtatlow).
  • Improved the parsing of Git remote URLs to support additional scenarios (#19924).

AI

  • Added "Suggest Edit" button to the assistant panel if "enable_experimental_live_diffs": true is set in the "assistant" section of settings.json (#19900). This button takes the place of the previous /workflow command, but it is experimental and may change!
  • Diagnostics are no longer automatically attached as context to /tab, /file slash commands in the Assistant Panel. Use /diagnostics to include them if desired. (#20297).

Languages

  • Added support for Doxygen-style doc comments starting with /// or //! in C++ (#19858).
  • Improved syntax highlighting for type hints in Python (#18185; thanks ClanEver).

Bug Fixes

  • Fixed an issue where the project diagnostics view spuriously allowed horizontal scrolling by a small amount (#19856).
  • Fixed block cursor rendering only the first character of multi-character graphemes (#19867).
  • Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data (#19977).
  • Fixed Zed incorrectly changing soft wrap based on .editorconfig contents (#20198).
  • Fixed outline panel navigation with menu::SelectNext and menu::SelectPrev (#20083).
  • Fixed outline panel-related performance issues when selections change in the large document (#20031).
  • Fixed deserialization error with Gemini 1.5 Pro (#20200; thanks zeitlings).
  • SSH Remoting: make downloading binary on remote more reliable (#19983).
  • SSH Remoting: Fixed a bug where we could cache an HTML error page as a binary (#19990).
  • SSH Remoting: Fixed compatibility with busy box gunzip (#20046).
  • SSH Remoting: Fixed compatibility with non-sh/bash/zsh shells (#20046).
  • SSH Remoting: Fixed fallback to uploading binary when downloading on the remote fails (#19991).
  • SSH Remoting: Fixed panic when restoring untitled unsaved buffers (#20215).

v0.160.7-pre

05 Nov 22:54
Compare
Choose a tag to compare
v0.160.7-pre Pre-release
Pre-release

Bug fixes

  • Remoting: Fixed panic when restoring untitled unsaved buffers (#20215).

v0.160.6-pre

05 Nov 00:28
883281d
Compare
Choose a tag to compare
v0.160.6-pre Pre-release
Pre-release

Features

  • Added support for new models with GitHub Copilot Chat (OpenAI o1-mini, o1-preview; Anthropic Claude 3.5 Sonnet (#19968).

Bug fixes

  • Fixed Zed incorrectly changing soft wrap based on .editorconfig contents (#20198).
  • Fixed deserialization error with Gemini 1.5 Pro (#20200; thanks zeitlings).

v0.160.5-pre

04 Nov 11:25
Compare
Choose a tag to compare
v0.160.5-pre Pre-release
Pre-release

Bug Fixes

  • Remoting: Fixed connecting to hosts with long (>~50 character) hostnames (#20093).
  • Fixed outline panel navigation with menu::SelectNext and menu::SelectPrev (#20083).
  • Fixed outline panel-related performance issues when selections change in the large document (#20031).
  • Fixed undo stack corruption on external file changes (#20156).

v0.159.10

04 Nov 10:57
Compare
Choose a tag to compare
  • Remoting: Fixed connecting to hosts with long (>~50 character) hostnames (#20093).
  • Fixed undo stack corruption on external file changes (#20156) (preview-only).
  • Fixed outline panel navigation with menu::SelectNext and menu::SelectPrev (#20083).
  • Fixed outline panel-related performance issues when selections change in the large document (#20031).

v0.160.2-pre

01 Nov 03:30
Compare
Choose a tag to compare
v0.160.2-pre Pre-release
Pre-release

Bug Fixes

  • Remoting: Fix compatibility with busy box gunzip (#20046).
  • Remoting: Fix compatibility with non-sh/bash/zsh shells (#20046).
  • Remoting: If downloading the binary on the remote fails, fall back to uploading it (#19991).

v0.159.7

01 Nov 03:54
Compare
Choose a tag to compare
  • Remoting: Fixed remotes with non-sh/bash/zsh default shells (#20046).
  • Remoting: Fixed remotes running busybox's version of gunzip (#20046).

v0.160.1-pre

31 Oct 12:52
0cb056c
Compare
Choose a tag to compare
v0.160.1-pre Pre-release
Pre-release

Enhancements

  • Added support for zed://ssh/<connnection>/<path> (#19970).

Bug Fixes

  • Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data (#19977).
  • SSH Remoting: make downloading binary on remote more reliable (#19983).
  • SSH Remoting: Fixes a bug where we could cache an HTML error page as a binary (#19990).

v0.159.6

31 Oct 12:53
4d1030f
Compare
Choose a tag to compare

Bug Fixes

  • Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data (#19977).
  • SSH Remoting: make downloading binary on remote more reliable (#19983).
  • SSH Remoting: Fixes a bug where we could cache an HTML error page as a binary (#19990).