Stable releases

Zed Changelog

September

Zed 0.105.5

09/27/2023

Download
  • Removed the potential for a panic when using semantic search.

Zed 0.105.4

09/27/2023

Download

Additions

  • Introduced semantic search: search your repository via natural language.

https://github.com/zed-industries/zed/assets/19867440/6fc90b7b-63d6-4098-9a42-fe9a0630f8f0

To enable semantic search, ensure that your OPEN AI API key is available in the OPENAI_API_KEY environment variables add the following snippet to your settings.json file:

"semantic_index": {
  "enabled": true
}

To use semantic search, initiate a project search and activate the Semantic mode.

  • Added key bindings to activate search modes in project search:
    • Added alt-cmd-s to Toggle Semantic Search Mode.
    • Added alt-cmd-g to Toggle Regex Search Mode.
    • Added alt-cmd-x to Toggle Text Search Mode.
  • Defaulted new project searches to using last used search mode and settings.
  • Improved icon consistency throughout the app.
  • Added a editor::SelectAllMatches command, bound to cmd-shift-l, for selecting all matching occurrences under your selection. Note that this has replaced the previous binding for editor::DuplicateLine (#75).
  • Added an open in terminal action to the context menu on folders in the project panel.
  • Vim
    • Added support for shift-d and shift-x to delete in visual mode.

Bug Fixes

  • Fixed a bug where search: replace next was not advancing the match index.
  • Fixed a bug where drag and drop didn't work correctly.
  • Fixed a bug where the code action popup menu would not scroll when the selection moved.
  • Fixed a bug where clicking a code action only ever performed the first action in the list rather than the one clicked on.
  • Fixed a bug when copilot re-login could cause panics.
  • Fixed handling of bracket completion for international keyboard layouts that use IME. This led to Zed erroneously inserting the } character while removing the first character that triggered IME.
  • Vim
    • Fixed a panic when over-shooting with j.
    • Fixed y in VISUAL LINE mode when last line has no trailing newline (#2044).

Zed 0.104.4

09/20/2023

Download

Additions

  • Added "replace" functionality to buffer search.
  • Added syntax highlighting for Nushell script files (#331).
  • Improved auto-indentation when using the inline assistant.
  • Improved command palette's command ordering. Commands are now sorted lexicographically and by command's use count in the current session.
  • Vim
    • Added g s / g S to show symbols in the current buffer / workspace.
    • Added ZZ and ZQ to close the current item (#1868).
    • Added support for counts with insert actions (2i, 2o, 2a, etc.).
    • Added _ and g_.
    • Added . to replay (#946).

Bug Fixes

  • Fixed Tailwind autocompletes not appearing in template literals.
  • Fixed Python language server not launching without a network connection.
  • Fixed a case where language server download statuses could be skipped.
  • Fixed a case where language server diagnostic progress could get stuck when restarting a language server.
  • Fixed a bug that was preventing certain keystrokes from being shown in tooltips.
  • Fixed a bug that was preventing errors from being shown in the inline assistant when it was still deployed.
  • Fixed a bug with multi-key shortcuts with modifiers.
  • Fixed inlay hint highlights causing panic for certain cases with multi-byte characters.
  • Fixed a panic that happened sometimes when collaborating
  • Fixed some issues with international keybindings. Zed now consults the IME functionality when handling keyboard shortcuts. This allows you to bind to characters (like " on a Brazilian keybaord, or $ on a Czech keyboard) that aren't typed with an unmodified key ((#1981), (#1913)).
  • Vim
    • Fixed counts with operators (2yy, d3d, etc.) ((#1496), (#970)).
    • Fixed J in visual mode, and with counts.
    • Fixed f and t on softwrapped lines.
    • Fixed a panic in some cases using down/up.
    • Fixed a panic when over-shooting with j.

Zed 0.103.1

09/13/2023

Download

Additions

  • Added basic Tailwind CSS autocomplete support (#746).
  • Added a CSS language server for autocomplete and linting.
  • Vim:
    • Added S to substitute line (#1897).

Bug Fixes

  • Fixed a bug where modals could not be dismissed with escape when certain views were active in the workspace.
  • Fixed a bug in the inline assistant's prompt history where the same entry was included multiple times.
  • Fixed an issue where search filters were partially cut off in the UI.
  • Fixed an issue with finding end of word on soft-wrapped lines.
  • Vim:
    • Fixed a bug where scrolling vertically would sometimes enter visual mode.

Zed 0.102.2

09/07/2023

Download
  • Fixed some inconsistencies in the layout of toolbars.
  • Fixed an issue where search filters were partially cut off in the UI.

Zed 0.102.1

09/06/2023

Download

Additions

  • Added a new "Inline Assist" feature that lets you transform a selection or generate new code at the cursor location by hitting ctrl-enter.
  • Added support for dynamic inlay hints.
  • Added a "ctrl-shift-:": "editor::ToggleInlayHints" default binding.
  • Added a relative_line_numbers setting (#988).
  • Added a detect_venv setting for the terminal. When configured, the Zed terminal will automatically activate Python virtual environments on terminal creation.
  • Improved project search by making it report results sooner.
  • Improved general LSP server load by delaying certain inlay hint requests.
  • Vim additions:
    • Added g {j,k,up,down,$,^,0,home,end} to navigate in display coordinates.
    • Added z o and z c to open and close folds.
    • Added z f in visual mode to fold selection.

Bug Fixes

  • Fixed a bug in project search where some results might not have been reported in presence of unnamed buffers.
  • Fixed a bug where [ and ] symbols would cause issues in terminal links (#1865).
  • Fixed a bug where the caret would blink when Zed application was not focused (#1116).
  • Fixed a bug where collaborators' cursors were rendered with the wrong color when not following them.
  • Fixed several styling bugs related to dragging the mouse cursor.
  • Disabled save as prompt for channel notes.
  • Vim bug fixes:
    • Fixed handling of motions when soft_wrap is enabled in zed. Like in vim, j,k,up,down,$,^,0,home,end will all now navigate in file coordinates, not display coordinates. Note, this may be a jarring change if you're grown used to the current behaviour of j and k. You can make the issue less acute by setting "soft_wrap":"none" in your settings; or you can manually copy the bindings for g j to the binding for j (etc.) in your keymap.json to preserve the existing behaviour.
    • Fixed y when on the last line of a file with no trailing newline.
    • Fixed a bug where scrolling vertically would sometimes enter visual mode.

August

Zed 0.101.1

08/30/2023

Download

Additions

  • Revamped project & buffer search UI.
  • Added a search: cycle mode command in search.
  • Added a editor: toggle inlay hints command and a bar to toggle editor-related items.
  • Added a default_open_ai_model setting for the assistant (defaults to gpt-4-0613).
  • Added default key bindings for NewFile and NewDirectory in the project panel (bound to cmd-n and alt-cmd-n, respectively).
  • Added file icons for Python and Elixir.
  • Added support for $ and # in identifiers in Javascript/Typescript.
  • Improved completions for PHP (#1820).
  • Improved multi-selection copy behavior by separating selections with a \n.
  • Improved language server responsiveness in large files, by reducing the number of code-actions and document-highlights requests sent to language servers.
  • Vim additions:
    • Added Visual Block mode (#984), (#1415).
    • Added support for a<object> and i<object> in visual modes.
    • Added P support to paste before (#1869).
    • Added P support in visual modes to paste without overriding clipboard.
    • Added shift-enter to type a newline.

Bug Fixes

  • Fixed a bug where auto-closing quotation marks were inserted incorrectly in Rust (#684).
  • Fixed a bug where small syntax errors would mess up syntax highlighting more than necessary when editing certain languages, like Scheme and PHP.
  • Fixed a bug where editors didn't auto-scroll when typing if all cursors could not fit within the viewport.
  • Vim bug fixes:
    • Fixed scroll offset on ctrl-{e,y,u,b} (#1929).
    • Fixed escape to dismiss suggestions in insert mode.
    • Fixed scroll shortcuts (ctrl-{f,b,d,u,e,y}) in visual modes.
    • Fixed autocompletion of private fields and methods in Javascript/Typescript.
    • Fixed position when using p on text copied outside zed (#469).
    • Fixed indentation when using p on text copied from zed (#1015).

Zed 0.100.1

08/23/2023

Download

Additions

  • Moved the collaboration dropdown into its own panel.
  • Improved LSP resource usage by querying fewer hints in big files.
  • Reduced collaboration mode clients' inlay hint footprint by enabling hint data resolution.
  • Added support for editor::SelectAll in Terminal.
  • Added settings to remove the AI assistant panel button (#1711).
  • Added the ability to reset the dock size by double clicking (https://github.com/zed-industries/community/issues/1816)
  • Associated additional file extensions with known languages ((#633), (#1822)).
    • C++: cxx, hxx, inl
    • JavaScript: cjs
    • Python: mpy
    • TypeScript: cts, d.cts, d.mts, mts
  • Vim additions:
    • Added o and shift-o to toggle direction of visual selection.

Bug Fixes

  • Fixed a bug where where coreaudiod was consuming CPU, even before calls were initiated ((#1840), (#1919)).
  • Fixed a bug where call notifications were accidentally full-screen on all displays except the main display.
  • Fixed a bug where dragging the docks would not follow mouse's exact position.
  • Fixed terminal search focus not switching to terminal on mouse click inside.
  • Vim bug fixes:
    • Fixed a bug where editor selections didn't match vim selections (#1796).
    • Fixed s in visual line mode.
    • Fixed v and shift-v to toggle back to normal mode.
    • Fixed block selections, such as vi}, to contain correct whitespace.
    • Fixed escape in normal mode (#1857).

Zed 0.99.1

08/16/2023

Download

Additions

  • Added commands to transform text ((#1821), (#1011)).
    • convert to kebab case
    • convert to snake case
    • convert to upper camel case
    • convert to lower camel case
    • convert to title case
    • convert to lower case
    • convert to upper case
  • Added support for cmd-/ to add line comments to shell files.
  • Added syntax highlighting support for Cargo.lock and .zprofile files.

Bug Fixes

  • Fixed a bug where language detection could fail when a file's name began with a ..
  • Fixed a bug where file icons would not be registered when a file's name contained . (#1877).
  • Fixed a bug where syntax highlighting wasn't being applied to shell files if a shebang wasn't present.
  • Fixed a rendering glitch that could occur after control-clicking certain elements.
  • Fixed an inconsistency in the status bar update button font size.