Releases

Keep up with the weekly Zed releases.


October

0.157.1

10/09/2024

macOS
Linux
  • Fixed a potential hang and panic when an SSH project goes through a slow reconnect.

0.157.0

10/09/2024

macOS
Linux

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).

0.156.0

10/02/2024

macOS
Linux

Enhancements

General

  • Added a horizontal scrollbar to project panel (#18513).
  • Added new fold actions to toggle folds (cmd-k cmd-l), fold every fold (cmd-k cmd-0) unfold every fold (cmd-k cmd-j) to fold recursively (cmd-k cmd-[) and unfold recursively (cmd-k cmd-]).
  • Added snippets: configure snippets command to create and modify snippets (#18453; thanks loczek).
  • Added snippets: open folder command for opening the ~/.config/zed/snippets directory (#18453; thanks loczek).
  • Added a setting for the terminal's default cursor shape. The setting is {"terminal": {"cursor_shape": "block"}}. Possible values: block, bar, hollow, underline (#18530).
  • Added file watching for symlinks (#17609; thanks AlvaroParker).
  • Added keyboard shortcuts inside tooltips in the project search, buffer search, etc (#18282).
  • Added editor.document_highlight.bracket_background field to the theme to set background color of highlighted brackets. This will fall back to editor.document_highlight.read_background, if not set (#17566; thanks thataboy).
  • Improved alignment of rendered tables in Markdown Preview (#18315; thanks andarut).
  • Improved consistency and reliability of direnv detection by making direnv integration use direct (direnv export json) mode by default instead of relying on a shell hook (#18536; thanks WeetHet).
  • Improved language server log panel split ergonomics (#18527).
  • Improved experience of configuring external formatters by making formatter arguments optional (#18340; thanks twz123).
  • Improved the git blame gutter to take up only the space required to display the longest git author name in the current file (#18145).
  • Changed the behavior of the git gutter so that diff hunk are expanded immediately when clicking the gutter, and hunk controls are displayed above the hunk (#18313).
  • Changed the view the release notes button in the update toast to trigger the auto update: view release notes locally action (#18486).
  • Changed ui_font_weight and buffer_font_weight settings to require values to be between 100 and 950 (inclusive) (#18594; thanks JunkuiZhang).

SSH Remoting

  • Added running LSP Adapters on host (#18359).
  • Enabled assistant panel and inline assists (running on client) (#18367).

AI

  • Added llama3.2 support (#18366).
  • Linux: Added ability to paste images into the Assistant Panel to include them as context on Linux Wayland (#17671; thanks maan2003).

Languages

  • Improved syntax highlighting for C++ (#18016; thanks VacheDesNeiges).
  • Added syntax highlighting inside heredoc strings in PHP (#18368; thanks sylbru).
  • Added support for using locally installed pyright if available (#18353).
  • Associated uv.lock files with the TOML language (#18426; thanks thorbenk).

Vim

  • Added :fo[ld], :foldo[pen] and :foldc[lose] (#18424).
  • Added za to toggle fold under cursor (#18421).
  • Added zO/zC/zA to open, close and toggle folds recursively (and fixed zc to not recurse into selections) (#18421).
  • Added zR/zM to open/close all folds in the buffer (#18421).

Bug Fixes

  • Assistant: Changed the assistant model to be less likely to incorporate diagnostic information when not requested to fix any issues (#18596; thanks rowillia).
  • Assistant: Fixed copy/cut/paste not working in the assistant panel when selection was empty (#18403).
  • Fixed Reveal in Finder/File Manager, Copy Path, Copy Relative Path and Copy file location actions not working with multibuffers (#18626).
  • Fixed the behavior of {"terminal": {"blinking": "[on|off|terminal_controlled]"} to work correctly and to work correctly when custom cursor_shape is set (#18538).
    • terminal.cursor_shape only controls the default shape of the terminal, not the blinking.
    • terminal.blinking = on means that it's always blinking, regardless of what terminal programs want
    • terminal.blinking = off means that it's never blinking, regardless of what terminal programs want
    • terminal.blinking = terminal_controlled (default) means that it's blinking depending on what terminal programs want. when a terminal program resets the cursor to default, it sets it back to terminal.cursor_shape if that is set.
  • Fixed the environment not loading if direnv mode is set to direct and .envrc is not allowed (#18473; thanks WeetHet).
  • Fixed task indicators not showing up at the starts of folds (#18526).
  • Fixed a bug where go to definition would scroll the editor even when the definition was already within the viewport (#18441; thanks osa1).
  • Fixed an bug where some tooltips would not show up (#18435).
  • Fixed low_speed_timeout_in_seconds for Ollama (#18417).
  • Fixed a slight gutter flicker when going over 999 lines (#18021; thanks galenelias).
  • Fixed use_on_type_format setting not working when defined inside "languages" in the settings. This change will now change the default behavior for C, C++, and Markdown, by turning language server's OnTypeFormatting completions off by default (#18387).
  • Fixed the cursor shape in the editor not changing back to default when {"cursor_shape": "..."} setting is removed. This does not apply to Vim mode (#18379).
  • Fixed sending alt-enter in terminal (#18363).
  • Fixed overriding the path of a language server binary for all language servers. {"lsp":{"<lsp-name>":{"binary":{"path": "_"}}}} will now work for all language servers including those defined by extensions (#18318).
  • Removed confusing soft wrap option behavior (#18412).
  • Removed automatic reinstallation of language servers (#18318). (It mostly didn't work)
  • SSH Remote: Fixed cmd-O to correctly open files on the remote host (#18308).
  • Linux: Fixed some cases where Linux X11 mouse scrolling didn't work at all (#18484; thanks mgsloan).
  • Linux: Fixed handling of switching between Linux X11 devices used for scrolling (#18484; thanks mgsloan).
  • Linux: Fixed a bug where middle mouse clicks could be interpreted as left or right mouse clicks (#18504; thanks mycroft).
  • Linux: Fixed a regression with middle-click pasting (#18503; thanks mycroft).
  • Linux: Fixed blur region on Plasma/Wayland (#18465; thanks jansol).
  • Vim: Fixed cursor position after :{range}yank (#18424).
  • Vim: Fixed register selection in visual yank (#18418).

Breaking Changes

  • Protocol Buffers language support: Renamed "proto" language to "Proto". This is a breaking change and requires users adjust their settings accordingly from proto to Proto under file_types and languages (#18559).
  • To disable finding lsp adapters in your path, you must now specify {"lsp":{"<lsp-name>":{"binary":{"ignore_system_version": true}}}} (#18318). Previously this was {"lsp":{"<lsp-name>":{"binary":{"path_lookup": false}}}}. Note that this setting still does not apply to extensions.

0.155.2

10/01/2024

macOS
Linux

Bug fixes

  • Linux: Fixed Ubuntu 20.04 compatibility on x86_64. This regression occurred in Zed Stable v0.153.6 and Zed Preview 0.154.0-pre and was unintentional. Glibc requirement on x86_64 linux is glibc >= 2.31 as it was prior to those releases. Impacted users will have to reinstall zed. (PR #18442).
September

0.155.1

09/27/2024

macOS
Linux

Bug fixes

  • Fixed Ollama timeouts (Preview Only) (PR #18449).
  • Fixed a (rare) panic in file finder (PR #18374).

0.155.0

09/25/2024

macOS
Linux

Enhancements

General

  • Added icons to the file finder (#18091; thanks Daste745).
  • Added a notification to warn users if their user settings or project-local settings failed to deserialize (#18122).
  • Improved preview tabs by marking them as permanent when saved (#18158).
  • Improved performance in repositories using Git fsmonitor--daemon feature (#18326).
  • Improved activity indicators' UX by allowing more of them to be hidden on click (#18305).
  • Improved the appearance of diff hunks in the editor (#18283).
  • Improved buffer search performance when switching tabs (#18281).
  • Improved Permalinks to markdown files on GitHub and GitLab (#18241).
  • Improved completion resolve mechanism (#18212).

AI

  • Added a new assistant.inline_alternatives setting to configure additional models that will be used to perform inline assists in parallel (#18098).
  • Added a new Fix with Assistant action on code with errors or warnings (#18163).
  • Added max tokens for Ollama's qwen2.5-coder model (#18290; thanks thehamsti).

Languages

  • Added escape string highlights to JSON and JSONC files (#18138; thanks Huliiiiii).

Vim

  • Added the ability to spawn multiple cursors through the g-A and g-I motions while in visual select mode (#18183; thanks sergioengineer).
  • Added gq/gw for rewrapping lines (#18156).

Bug Fixes

  • SSH remoting: Fixed projects not restoring previous locations and not refreshing the project panel on open (#18262; thanks CharlesChen0823).
  • SSH remoting: Fixed cmd-o to correctly open files on the host (#18308).
  • SSH remoting: Fixed buffer reloading (#18245).
  • SSH remoting: Fixed format on save (#18242).
  • SSH remoting: Fixed go to definition outside of worktree (#18094).
  • SSH remoting: Fixed LSP queries run over collab (#18099).
  • SSH remoting: Removed "reveal in finder" option from menu (#18306).
  • Fixed a recent regression where tuple and unit structs were omitted from the outline view in Rust (#18297).
  • Fixed a bug where Python import names were highlighted as types (#17984; thanks verhovsky).
  • Fixed running ESLint offline (#18286).
  • Fixed a panic when graphemes are included in supermaven completions (#18279; thanks s3bba).

Breaking Changes

  • (Potentially breaking change) Zed will now use the node installed on your $PATH (if it is more recent than v18) instead of downloading its own. You can disable the new behavior with {"node": {"disable_path_lookup": true}} in your settings. We do not yet use system/project-local node_modules (#18172).

0.154.1

09/24/2024

macOS
Linux

Fixes

  • Fixed vtsls being initialized the wrong way, which would mean the wrong options were used to enable completions or inlay hints. (#18014)
  • Improved the behavior of editor: rewrap when working with a selection that contained comments at different indentation levels. (#18146)
  • Fixed buffer search options toggling unexpectedly on redeploys (#18166)
  • Fixed a bug where copying from the assistant panel appended an additional newline to the end of the clipboard contents. (#17661)
  • Enhanced the auto update: view release notes locally feature to display release notes for each patch version associated with the installed minor version. (Partially addresses #17527))
  • Fixed search results in project-wide search not being highlighted consistently and navigation sometimes being broken (#18254, #18219, #17690)

0.154.0

09/19/2024

macOS
Linux

Enhancements

General

  • Added file icons to the tab switcher. Enable with by adding "tabs": {"file_icons": true} to settings (#17115; thanks Daste745).
  • Added an editor: rewrap command for rewrapping text to the maximum line width (#17909).
  • Added the ability to copy surrounding code blocks in the assistant panel into the clipboard, or inserting them directly into the editor, without manually selecting. Place cursor anywhere in a code block (marked by triple backticks) and use the assistant::CopyCode action (cmd-k c / ctrl-k c) to copy to the clipboard, or the assistant::InsertIntoEditor action (cmd-< / ctrl-<) to insert into editor (#17853; thanks thataboy).
  • Added ability to click on filepaths when using git diff inside the built-in terminal (#17446; thanks watsoncj).
  • Added theme styling option to separate terminal background view from terminal background color, for transparent terminal backgrounds (#17611; thanks AlbertMarashi).
  • Added keyboard shortcut to rearrange tabs (left: ctrl-shift-pageup, right: ctrl-shift-pagedown) like Chrome (#15583; thanks tepek2).
  • Added a way to join all panes into one with pane::JoinAll action (#17673).
  • Added a setting for cursor_shape. Can be bar, block, underline, or hollow. Default is bar (#17572; thanks thataboy).
  • Added an inlay_hints.show_background setting to allow displaying backgrounds for inlay hints in the editor (#18010).
    • This setting defaults to false.
    • If enabled, the inlay hint backgrounds will use the hint.background color from the theme.
  • Added access to the local shell environment for task context providers, enabling local Rust tool installations to function (#17964; thanks WeetHet).
  • Improved underline appearance (#17586; thanks ncor).
  • Persisted tab pin state across Zed runs (#17670).
  • Changed documentation popovers to render Markdown prose using the UI font instead of the buffer font. Code blocks still using the buffer font (#17761).
  • Improved welcome page design and added additional links (#17874).
  • Enabled dark mode for documentation (#17940).
  • Changed ui_font_size and buffer_font_size to require values to be between 6px and 100px (inclusive) (#17829).
  • Changed tab_size setting to require values be between 1 and 16 (inclusive) (#17882; thanks ihavecoke).

SSH Remoting

  • Added support for booting langauge servers (in limited circumstances) (#17655).
  • Settings files are now opened in a non-remote window (#18020).
  • Show LSP status in status bar (#17912).
  • Look up language server binaries in the environment on SSH host (#17658).

Languages

  • Improved C syntax highlighting (#17541; thanks krizej).
  • Improved C++ syntax highlighting (#17471; thanks VacheDesNeiges).
  • Changed built-in language support (Rust, Go, C, YAML, ...) to lookup language-server specific settings locally in project directory first before falling back to global value (#17753).
  • Changed rust-analyzer support to look up rust-analyzer binaries by default in $PATH. That changes the default value to something users requested (#17926).
  • Improved highlighting for property names in CSS (#17324).

Vim

  • Improved edge-case handling for ctrl-a/ctrl-x (#17644; thanks hekmyr).
  • When using OpenFile (gf in Vim mode) and the word under the cursor is not an existing file path, we now fall back and additionally check whether a file called <word-under-cursor>.<language-specific-path-suffixes> exists. That's similar to Vim's suffixesadd option (#17805).

AI

  • Added a new /delta command to re-insert changed files that were previously included in a context (#17903).
  • Added support for OpenAI o1-mini and o1-preview models (#17796).
  • Added support for fill-in-the-middle style inline completions (#17578; thanks kevmo314).
  • Added support for specifying keep_alive for Ollama AI models via settings (#17906).
  • Changed default low_speed_timeout_in_seconds option to 600 for OpenAI provider to accommodate recent o1 model release (#17804).

Bug Fixes

  • Fixed tab bar not preserving pinned tab state when an editor::NewFile action is executed (#18072).
  • Fixed macOS incorrectly using ~/.cache/zed instead of ~/Library/Caches/Zed (#17949).
  • Fixed a bug where files with colons in their names could not be opened from the Zed CLI (#17281; thanks erickguan).
  • Fixed a bug where Zed would initiate a window move and then refuse to release the mouse (#17801; thanks skytwosea).
  • Fixed a bug where file watching for Go projects would resort to watching the filesystem root (#17769).
  • Fixed a bug where an extra row was appearing in the toolbar when it was empty (#17888; thanks zhang0098).
  • Fixed a bug where the editor: toggle comments command didn't use the right comment syntax in JSX and TSX elements (#17734).
  • Fixed ctrl-b not moving the cursor (#17808).
  • Fixed display of task commands by using single quotation marks instead of backticks (#17637; thanks bestgopher).
  • SSH remoting: Fixed rename over language server (#17897).
  • SSH remoting: Fixed shell environment loading for remote shells (#17665).
  • Fixed user-configured initialization_options being passed as workspace/Configuration for the vtsls, TypeScript, and YAML language servers (#17757).
  • Fixed a wrong offset calculation in the Supermaven inline completion provider (#17925; thanks kevmo314).
  • Fixed the is and ... highlights for TypeScript (#17787; thanks AlbertMarashi).
  • Fixed a panic that could occur when expanding an excerpt within a multibuffer when the cursor was at the end of the excerpt (#17955).
  • Fixed a link in the Assistant panel to the OpenAI console (#17675; thanks aa2kb).
  • Fixed inline completions showing up in Vim normal mode (#17727).
  • Vim: Fixed gv after > and < in visual mode (#17986).
  • Fixed link to Privacy Policy in terms displayed by macOS DMG (#17877; thanks Eamon Sisk).
  • Linux: x86 binaries now require glibc >= 2.35; was >= 2.29 (https://github.com/zed-industries/zed/pull/17375).

0.153.6

09/18/2024

macOS
Linux

Bug fixes:

  • Fixed Go tasks not working when trying to run tests or benchmarks in sub-packages (#17998).

Note This release replaces v0.153.5-pre which had ci-related build failures.

0.153.5

09/18/2024

macOS
Linux

Bug Fixes

  • Fixed Go tasks not working when trying to run tests or benchmarks in sub-packages.

NOTE: Due to CI issues. This release did not finalize correctly will be superceeded by v0.153.6-pre shortly.

0.153.4

09/16/2024

macOS
Linux
  • Fixed a performance problem that happened after opening and closing many editors with vim mode enabled.

0.153.3

09/15/2024

macOS
Linux
  • Fixed a bug where $PATH could be incompletely loaded during task execution.

0.153.2

09/12/2024

macOS
Linux

Bug Fixes

  • Fixed sorting of files with YYYYmmddHHMMSS prefix (#17752).
  • Increased memory limit for eslint to reduce crashes (#17724).

0.153.1

09/10/2024

macOS
Linux

Bug fixes

  • Fixed tabs staying pinned after closing unrelated tabs. Preview only (#17666).
  • Fixed tokenizers for OpenAI API compatible assistant providers. Preview only (#17660).
  • Fixed vtsls initialization_options in project settings files. Preview only (#17657).

0.153.0

09/10/2024

macOS
Linux

Enhancements

General

  • Added "Pin/Unpin Tab" action to the workspace, assistant and terminal panes (#17426).
  • Added ability to select and act upon intermediate auto-folded project entries (remove, rename, cut, paste) (#17520).
  • Improved DeleteToPreviousWordStart and DeleteToNextWordEnd interactions around newlines. You can opt-in into the previous behavior by adding {"ignore_newlines": true} to either action's binds in your keymap (#16848; thanks kjzl).
  • Improved language server reliability in multi-worktree projects and monorepo. We now notify the language server more reliably about which files have changed (#17499).
  • Improved popup menu margins (#17159; thanks huacnlee).
  • Updated Markdown code blocks to use the buffer font (#17351; thanks matubu).
  • Added support for display_name for custom models in OpenAI and Google Gemini AI providers (#17508).
  • Added search settings section to configure default options enabled in buffer and project searches (#17179; thanks thataboy).
  • Added yaml-language-server configuration via settings. See: zed.dev/docs/languages/yaml (#17479).
  • Increased the default memory limit for vtsls from 3GiB to 8GiB (#17354).
  • Linux (X11): Added Drag and Drop support (#17491; thanks XDeme1).

Vim

  • Added vim-style smart case option for search patterns (#16932; thanks 0x2CA).
  • Added :y[ank] (#17448).
  • Project Panel: Added s keybind to open with default app (#17231; thanks KorigamiK).
  • Added :diff and :revert (that work with '<,'>) to open the selected diff and revert it (#17456).
  • Added d o to open the diff and d p to revert (spiritually similar to vim's do/dp, though obviously not the same) (#17456).
  • Added ctrl-p and ctrl-n to summon the autocomplete menu in insert mode (#17456).
  • Added ( and ) for sentence motion (#17425).

AI

  • Added support for using the configured UI font size in the inline assistant (#17542; thanks haasn).
  • Added support for adding multiple files in a single /file command when pressing tab (#17652).
  • Added support for copying and pasting slash commands in the assistant panel (#17490).
  • Added context_size for "yi-coder" model in Ollama (#17409; thanks rauberdaniel). More information about the model on ollama.
  • Added ability to configure environment variables for context servers through settings. These variables are passed to the server process when launched (#17356; thanks dsp-ant).
  • Improved "Assistant::NewContext" quote selection behavior (#17589).
  • Improved "Assistant::QuoteSelection" to handle multicursor selections (#17589).

Bug Fixes

  • Fixed an issue where a failed inline assistant prompt could not be restarted (#17651).
  • Fixed an issue where commands generated by the terminal command could sometimes be executed without confirmation (#17647).
  • Fixed JSON Schema for tabs.file_icons default value (#17629; thanks kachick).
  • Fixed parenthesis matching for file links in terminal (#17512; thanks saahityaedams).
  • Fixed an issue when using Google Gemini models, where the setting low_speed_timeout_in_seconds was not respected (#17423).
  • Go: Fixed regression by restoring regex to match tests (#17645).
  • Vim: Fixed the behavior of surrounding a text object (#17603; thanks emandres).
  • Vim: Fixed s// to act on current line only (#17234; thanks Horam-Zarri).
  • Vim: Fixed "_ register writes overwriting " register (#17419).
  • Vim: Reverted Y to vim behavior. If you want the neovim version (as a built in mapping to y$) you must configure it in your settings (#17563; thanks vbhavsar).
  • Vim: Fixed parsing of commands with ranges :3 d (#17474).
  • Linux: Fixed blurry mouse cursor on wayland when the screen scale is other than 100% (#17496; thanks senonide).

0.152.3

09/10/2024

macOS
Linux

Bug fixes

  • Linux: Fixed crash when closing windows on Wayland (#17510; thanks apricotbucket28).
  • Linux ARM binaries now require glibc >= 2.35; was >= 2.29 (#17643).

0.152.2

09/10/2024

macOS
Linux

Unreleased.

Bug Fixes

0.152.1

09/06/2024

macOS
Linux

Bug Fixes

  • Removed the recently-added FPS counter since the changes it made to the Metal renderer on macOS could lead to performance regressions on Intel MacBooks (#17485).
  • Fixed a possible memory leak when closing Zed windows that wouldn't lead to associated resources being cleaned up correctly. (#17497)

0.152.0

09/04/2024

macOS
Linux

Enhancements

General

  • Added ability to perform project search only in opened files (#16580; thanks CharlesChen0823).
  • REPL: Added a readonly buffer for viewing large outputs (#17121).
REPL: Added a readonly buffer for viewing large outputs
REPL: Added a readonly buffer for viewing large outputs
  • REPL: Added button to open full text output in a separate buffer (#16971).

  • Improved the Zed CLI zed to pass along the environment as it was on the CLI to the opened Zed project. That environment is then used when opening new terminals, spawning tasks, or language servers (#17075). Specifically:

    • If Zed was started via zed my-folder, a terminal spawned with workspace: new terminal will inherit these environment variables that existed on the CLI
    • Specific language servers that allow looking up the language server binary in the environments $PATH (such as gopls, zls, rust-analyzer if configured, ...) will look up the language server binary in the CLI environment too and use that environment when starting the process.
    • Language servers that are not found in the CLI environment (or configured to not be found in there), will be spawned with the CLI environment in case that's set. That means users can do something like RA_LOG=info zed . and it will be picked up by the rust-analyzer that was spawned.
    • Check the demo here.
  • Added multiuser support for up to 100 users on the same machine (#14143; thanks samsonjs).

  • Linux: Added an editor setting to toggle middle-click pasting (enabled by default) (#16572; thanks micahscopes).

  • Linux: Improved GPU detection (#17022).

Languages

  • Added @variable.parameter highlight scope for Rust (#16747; thanks everdrone).
parameters are colored pink
parameters are colored pink
attributes are colored yellow
attributes are colored yellow
  • Added markdown injection inside Rust doc_comments (#16747; thanks everdrone).
markdown highlighting
markdown highlighting
  • Improved syntax highlighting of Rust methods in completions menu (#17184).
  • Improved language server reliability in multi-worktree projects and monorepo. We now notify the language server more reliably about which files have changed (#17173).
  • Improved Rust syntax highlighting queries (#17097; thanks everdrone).

Performance

  • Improved editor performance in presence of many runnable indicators in the gutter (#17250).
  • Improved outline panel performance (#17183).

AI

  • Added a way to accept terminal inline assist suggestions without executing them (#17299).
  • Improved Assistant Configuration to make links clickable (#17011).
  • Improved UX of tab slash command completions (#17296).
  • Added support for argument completions for context server prompts. These show up as regular completions to slash commands (#17085; thanks dsp-ant).
  • Added ability for context servers to provide optional descriptions in prompts/get responses, displayed as slash command labels (#17077; thanks dsp-ant).

Bug Fixes

  • Fixed outline panel filter not working for certain Vim bindings (#17293; thanks CharlesChen0823).
  • Fixed inlay hints not being enabled for JavaScript when using the vtsls language server (#17334; thanks matubu).
  • Fixed an issue where the inline assist would be dismissed even when instructed to regenerate the transformation after an error (#17301).
  • Fixed a bug where "Paste" wasn't always shown in project panel context menu (#17262).
  • Assistant: Fixed New Context opening a new file when focused in the editor pane (#17106; thanks ramipellumbi).
  • Fixed GPT-4 breakage (incorrect max_output_tokens handling) (#17168).
  • Fixed a bug where save replaced the existing open file, using the new pane to replace the old pane (#17123; thanks CharlesChen0823).
  • Fixed a bug where inline completions (Copilot or Supermaven) were showing up in Vim's normal mode (#17154).
  • Fixed an issue where workspace::ActivatePaneInDirection could not activate the center pane (i.e. one couldn't navigate from terminal or assistant panel to the center pane) after loading Zed (#17140).
  • Fixed an issue where context servers returning a carriage return character would result in a panic (#17112; thanks dsp-ant).
  • Fixed a panic opening a file in ~/ with use_system_prompts: false (#17027).
  • Fixed an issue with dangling disk images during macOS auto-updates by implementing automatic unmounting (#17019; thanks vitallium).
  • Fixed an issue where toggling inline completions in a markdown file did not work correctly (#17104).
  • Fixed Go tests not being able to run in case the package (and the go.mod) was in a nested folder (#17108; thanks glaudiston). Pre-defined Go tasks now run in the package's directory. That means go test ./package -run MyTest will run in ./package and execute go test -run MyTest. Also, go test ./... will run in the package directory, not at the root of the Zed project, which is a small breaking change. In case one wants to run go test ./... from the root, one can spawn a manual task that does this.
  • Linux: Fixed the prompt library not closing on Wayland (#16850; thanks apricotbucket28).
  • Linux: Fixed copy/paste shortcuts in context menus (#17103).
  • Linux: Zed will no longer be marked as the default file browser (#16940; thanks valaphee).
August

0.151.1

08/30/2024

macOS
Linux

Bug Fixes

  • Ollama: Improved handling of variable context lengths; support for user configurable max_tokens in setting.json (#17025).
  • Fixed crash when setting "use_system_path_prompts": false or in remote project with two or more worktree (#16991; thanks CharlesChen0823).

0.151.0

08/28/2024

macOS
Linux

Enhancements

General

  • SSH Remoting: Added project search (#16915).
  • Added a new editor action (editor: toggle inline completions) to allow toggling inline completions (Copilot, Supermaven) on and off for the current buffer, taking precedence over any settings (#16947).
  • Added pane: join into next action (#16077; thanks tcard).
  • Added editor: copy file location command to copy the current file location (FILE:LINE) to the clipboard (#14793; thanks slembcke).
  • Added a default package + overlay to Zed's Nix flake. This is useful for users wanting to pilot nightly builds of Zed on NixOS (#16783).
  • Added buffer/project search entries to the outline panel (#16589).
  • Added Format Buffer action to the right-click menu within a buffer (#16080; thanks terziele).
  • Added clickable URLs with query parameters in the terminal (#16724; thanks musicq).
  • Added support for using file paths ending in a language-specific file extension at the start of markdown code blocks (#12368).
  • Repl: Added button to copy output from the REPL (#16649).
  • Repl: Added restart kernel action (#16609).
  • Added tab/pane closing for files inside folders being deleted/trashed (#15222; thanks Quplet).
  • Added SOCKS proxy for client WebSocket connection (#16051; thanks Congyuwang).
  • Added soft_wrap value bounded, EditorWidth and PreferredLineLength min value (#16586; thanks 0x2CA).
  • Added switch source/header action for clangd language server (#14646; thanks thorbenk).
  • Added unnecessary_code_fade setting to control how strongly to fade unused code (#14442; thanks MatthewScholefield).
  • Added new settings to control split direction for horizontal and vertical splits. Users can now configure whether new splits open to the right/left or top/bottom, similar to Vim's splitright option (#16345; thanks jvanbaarsen).
  • Added support for copying/pasting between different worktrees (#15396; thanks CharlesChen0823).
  • Improved the truncation of long author lists and descriptions in the extensions view (#17007).
  • Improved Sublime keymap: Support for switching to individual tabs with cmd-1 thru cmd-9 (macOS) and alt-1 thru alt-9 (Linux) matching Sublime behavior (#16930; thanks zzulu).
  • Improved support for extended keyboards on Mac (F13-F19, Insert) (#16921).
  • Improved context menu organization (#16773; thanks WeetHet).
  • Improved the Copy Path and Copy Relative Path actions in the project panel's context menu when selecting multiple files. All selected files' paths will now be copied, separated by newlines (#16558; thanks kjzl).
  • Improved error handling when opening files in the workspace pane. An error message will now be displayed if the file cannot be opened (#15613; thanks ssut).
  • Updated project panel scrollbar to respect the scrollbar.track.background from the theme (#16546; thanks eliperkins).
  • Updated filenames to be cmd/ctrl-clickable, opening them when clicked (#16534).
  • Linux: Improved terminal keymap and context menu (#16845).
  • Linux: Improved text rendering by handling subpixel positioning (#16238; thanks apricotbucket28).
  • Linux: Added CLI pipe support (#16084; thanks VitorRamos).

Languages

  • Added support for property tests in runnables for Elixir (#16985; thanks cschmatzler).
  • Added auto-closing for single quotes in YAML files (#16859).
  • Added syntax highlighting for graphql tagged template literals and function calls in javascript, typescript and tsx languages (#16368; thanks affanshahid).
  • Added level filtering to language server logs (#15893; thanks jcdickinson).
  • Improved detection of pyrightconfig.json as JSONC (#16967).
  • Improved PHP highlights by adding more language keywords (#16720; thanks BafS).

Performance

  • Performance of project-wide search has been improved by up to 10x (#16936).
  • Improved performance of rendering project-search results in the multi-buffer after finding them (#16960).
  • Reduced latency for first project search result (#16923).
  • Improved performance of Assistant Panel with long conversations (#16881).
  • Improved performance of assistant panel with large amounts of text (#16761).

AI

  • Added support for Ollama models with context length >2048 (#16877).

Vim

  • Added absolute numbering in any mode except insert mode (#16567; thanks 0x2CA).
  • Added gf command to open files under the cursor (#16534).

Bug Fixes

  • Fixed performance regression in handling buffers with large quantities of diagnostics (#16824).
  • Fixed formatting of < and > in Git commit message popup (#16279; thanks dovakin0007).
  • Fixed signature info popovers appearing when completion menu is open (#17009).
  • Fixed an issue on NixOS package where the wrong binaries were being patched, leading to missing Wayland libs when launching Zed (#16958).
  • Fixed an issue where the file finder would jump to the first result when new files were added to the project. The selected file now remains highlighted when the file list updates (#13452; thanks kshokhin).
  • Fixed assistant model selector check icon overflow for long model names (#16716; thanks Moshyfawn).
  • Fixed Telemetry log being marked dirty (#16906).
  • Fixed asset buffers (default settings and default keymap) showing 'untitled' in breadcrumbs (#16906).
  • Fixed an issue related to the project wide search being stuck when project contains .fifo files (#16039; thanks SultanTanirkul).
  • Fixed incomplete syntax highlighting for HTML injections inside JavaScript template tags (#16479; thanks florian-sanders).
  • Fixed double edits when a multi-cursor is in a linked editing range (#16707).
  • Fixed bug when opening uncanonicalized hyperlink files from terminal (#16087; thanks Pribess).
  • Fixed local timezone not showing in Zed.log (#16400; thanks bestgopher).
  • Fixed manually triggering completions when show_inline_completions: false (#16621).
  • Fixed esc not removing focus from the filter editor in the collaboration panel (#16579).
  • Fixed an issue where unnecessary pane splitting occurred when a file fails to open (#15613; thanks ssut).
  • Repl: Fixed issue with shutting down kernels that are in a failure state (#16609).
  • Vim: Fixed n direction after searching backwards (#16754; thanks fmgornick).
  • Vim: Fixed issues with ctrl-d/ctrl-u when scroll_beyond_last_line is set to off (#15395; thanks ksweetie).
  • Vim: Fixed accidental visual mode in project search and go to references (#16477).
  • Linux: Fixed tasks not finishing properly after ctrl-c (#16847).
  • Linux: Fixed title bar becoming transparent when the window lost focus (#16833; thanks apricotbucket28).
  • Linux: Fixed find in Terminal: ctrl-shift-f (#16085; thanks VitorRamos).
  • Linux: Fixed benign error being shown when cancelling file picker (#15553; thanks apricotbucket28).
  • Linux: Fixed cross-window copy/paste not working in some Wayland configurations (#16126; thanks apricotbucket28).

0.150.4

08/27/2024

macOS
Linux

Bug fixes

  • Fixed an issue where git state would stop updating if the root directory of a git repository was updated in certain ways
  • Fixed app menu performance slowdowns when there are multiple windows open.

0.150.3

08/22/2024

macOS
Linux

Bug Fixes

  • Fixed Go to definition not working in Svelte and Vue files (#16469) and (#13769)
  • Fixed caching for Anthropic models when using the Zed provider (#16685)
  • Fixed a panic when diagnostics contain multiple links (#16601)
  • Fixed more Elixir files not being executable (#16382)

0.150.0

08/20/2024

macOS
Linux

Today's preview release is largely identical to today's stable release. We've fast-tracked all new recently-released preview features to Zed stable, where they're currently being highlighted. There are a few subtle updates in preview, but the main action is happening in stable and around Zed AI. Next week's preview will be back on track with new features and improvements.

For more information on Zed AI, read our in-depth blog post and see the assistant documentation on our revamped website.

0.149.3

08/19/2024

macOS
Linux

Enhancements

  • Assistant: Added UI affordances to the assistant panel to show which messages have been cached (#16395; thanks rowillia).
  • Assistant: Migrated cache invalidation to be based on has_edits_since_in_range to be smarter and more selective about when to invalidate the cache and when to fetch (#16395; thanks rowillia).

Documentation

  • Updated Terms and Conditions (#16478).

0.149.2

08/19/2024

macOS
Linux

Enhancements

  • Added support for GPT-4o for Copilot Chat. (#16446; thanks Hawkbawk)
  • Added performance.show_in_status_bar: true setting (MacOS-only) to show the time to the first window draw and FPS (#16422).
  • Updated inline assist icon in the editor & terminal (#16363).

Bug Fixes

  • Fixed: Display correct number of selected characters (#16420).
  • Fixed an issue where an extra newline was inserted after running a /file command in the assistant (#16419).

0.149.1

08/16/2024

macOS
Linux

Improvements

  • Added support for 8192 output tokens from Claude Sonnet 3.5 (#16358; thanks rowillia)
  • Reduced instances of over-generation when inserting docs or annotations above a symbol (#16333).
  • Improved conformance with Anthropic Images in Chat Completions API (#16270).
  • Adds support for Prompt Caching in Anthropic. For models that support it this can dramatically lower cost while improving performance (#16274; thanks rowillia).
  • Workflows can now create new files in folders that didn't exist (#16251)

Bug Fixes

  • repl: Fixed scaling of stdout/stderr line heights (#16308).
  • Restored the ability to toggle the model selector in the Assistant via a keybinding (Preview only) (#16319).
  • Restored the behavior of ctrl-a until we can separate the behavior of the command for soft wraps and leading indentation (Preview Only) (#16246).
  • Fixed a bug where directories were often omitted from the completions for the /file slash command (#16242).
  • Fixed detection of Python virtual environments (#15570, #15989; thanks vitallium).

0.149.0

08/14/2024

macOS
Linux

Enhancements

General

  • Added syntax highlighting for tagged template literals in javascript, typescript and tsx languages for css, html, js, json, sql, ts, yaml and yml (#15984; thanks RobinMalfait).
  • Added support for recognizing CUDA files as C++" (#16098; thanks Athishpranav2003).
  • Added an editor::ScrollCursorCenterTopBottom action for toggling scroll position with a single key binding (#16134).
  • Added an editor::HandleInput action to ease typing symbols that are part of keymaps. E.g. if , o k key binding is bound, ", ,": ["editor::HandleInput", ","] would allow to type , without timeouts (#16131).
  • Improved behavior of ctrl-a and ctrl-e on MacOS (#15981).
  • Added fallback to a smallest tree sitter node when hovering over a symbol (#16062; thanks WeetHet).
  • Improved MimeType list in XDG .desktop file (#15623; thanks rudolfkastl).
  • Added a popup that is displayed when the keymap is invalid (#15977).
  • REPL: Improved visuals of repl stdout/stderr by reducing default line count to 32 (#16061).

AI

  • Added support to allow for pasting images into the Assistant Panel to include them as context. Currently works only on macOS, and with Anthropic models. Future support is planned for more models, operating systems, and image clipboard operations (#15782).
  • Added a count of the context tokens when hovering token counts in the inline assist (#16147).
  • Zed now allows the model to control indentation when performing inline transformation. We're hoping this improves the indentation experience in Python and other indentation-sensitive languages, but it does require more from the model (#16145).
  • Added more context when using assistant: Quote selection to insert text into the assistant panel (#16038).
  • Assistant workflow steps can now be applied and reverted directly from within the assistant panel (#15936).

Vim

  • Vim: Added support for range syntax in command (#15985).
  • Vim: Prefill command with :'<,'> from visual mode (#15985).

Bug Fixes

  • Fixed cmd window showing when repl executing commands (#16016; thanks JunkuiZhang).
  • Fixed ctrl-u/ctrl-d in Vim mode not working correctly when vertical_scroll_margin is set to a really high value (#16031).
  • Vim: Fixed a possible panic that could happen when using a very high value for vertical_scroll_margin that exceeded the number of visible lines on the screen (#16029).
  • Fixed a potential panic that can occur when deleting entries from the recent-projects menu (#15965; thanks CharlesChen0823).
  • Fixed an issue where the markdown preview button would not show up for some markdown files (#15961).

0.148.0

08/07/2024

macOS
Linux

Enhancements

General

  • Added a popup that is displayed when the settings are invalid.
  • Added menu items to quickly switch between Supermaven and Copilot inline completions when the provider is not configured (thanks kevmo314).
  • Added tool calling capabilities to OpenAI and Ollama models.
  • Improved streaming git diffs to be less jumpy during inline assistant generation.
  • Templates for prompts driving inline transformation in editors and the terminal can now be overridden in the ~/.config/zed/prompts/templates directory. This is an advanced feature, and prevents you from getting upstream changes. It's intended for use by Zed developers.
  • Added an editor: go to declaration editor action (thanks coszio).
  • Linux: Changed the fallback color of title_bar.inactive_background to a non-transparent value.

REPL

  • Added additional context about available kernel sessions.
  • Added update_display_data support for REPL.
  • Added logging in debug mode of raw kernel output from REPL.
  • Added ctrl-alt-enter keybinding for repl::RunInPlace (ctrl-option-enter on MacOS). This keeps your screen position and cursor in place when running any block.
  • Added markdown rendering for Jupyter/REPL outputs. Push Markdown from Deno/Typescript with Deno.jupyter.md and in IPython use IPython.display.Markdown.

Languages

  • Improved Rust test detection to work for attributes containing test substring (#15580; thanks MayankJikadara).
  • VTSLS will now use the local instance if there's one on PATH (#4978; thanks kakoc).
  • The ordering of language servers will now respect the order in the language_servers setting. The first language server in this list will be used as the primary language server.

Vim

  • Vim: Breaking change to keybindings after the introduction of the editor: go to declaration editor action. The new keybindings are the following (and can be found here, alongside the other key bindings) (thanks coszio):
    • g d - Go to definition
    • g D - Go to declaration
    • g y - Go to type definition
    • g I - Go to implementation

Bug Fixes

  • Fixed an issue where the terminal inline assistant would not appear when opening a terminal in the center pane (#15729).
  • REPL: Fixed plain text output wrapping around and covering editor text (#15491, #14855).
  • REPL: Fixed bug in kernelspec launch choosing first available kernel matching the language rather than selected name.
  • REPL: Fixed kernels not being shut down completely on close of Editor.
  • REPL: Fixed ANSI escape code and carriage return handling in repl outputs (#15640, #14855).
  • Fixed poor performance when editing in the assistant panel after inserting large files using slash commands.
  • Fixed a bug where a closed workspace could be reopened on startup (thanks apricotbucket28).
  • Linux: Fixed Zed flickering when using Intel graphics (#14101; thanks Jaakkonen).
  • Linux: Fixed prompts not being navigable by arrow keys (#15151; thanks apricotbucket28).
  • Linux: Fixed visual glitches when rendering icons (#12352; thanks apricotbucket28).
  • Linux: Fixed last workspace not being restored on startup (#15642; thanks apricotbucket28).

0.147.2

08/02/2024

macOS
Linux

Bug Fixes

  • Fixed a regression when rendering diffs for the inline assistant.

0.147.1

08/01/2024

macOS
Linux

Bug Fixes

  • Fixed context menus not appearing in multi buffers
  • Fixed not all worktree entries being returned by the /file slash command completions
July

0.147.0

07/31/2024

macOS
Linux

Enhancements

General

A screenshot showing a conversation between a user and GitHub Copilot Chat within the Zed editor
A screenshot showing a conversation between a user and GitHub Copilot Chat within the Zed editor

Once you've signed into GitHub Copilot within Zed, Copilot Chat should be available as an option in the model dropdown in the assistant.

Copilot Chat model option
Copilot Chat model option
  • Added double-click to create a new file when clicking on blank space in the project panel (#15353; thanks ssut).
  • Added support for tab switcher in Assistant panel (#15475).
  • Use ctrl-enter to summon the inline assistant in the terminal, which lets you generate terminal commands based on your description.
    • Check out the demo.
  • Improved restoring of windows across restarts: the order of the windows is now also restored. That means windows that were in the foreground when Zed was quit will be in the foreground after restart. Supported on MacOS and Linux/X11, not yet on Linux/Wayland (#15419).
    • Check out the video video!
  • Added the ability to select and copy text from diagnostic popovers (#12695; thanks effdotsh).
  • Added support for font fallbacks via three new settings: ui_font_fallbacks, buffer_font_fallbacks, and terminal.font_fallbacks (#5180, #5055).
  • Changed the project panel to auto fold directories by default.
  • Linux/X11: Support for keyboard layout hot plugging (#15059; thanks XDeme1).
  • Unsaved files that are restored when Zed starts are now marked as having a conflict if they have been changed on disk since the last time they were stored (#15207).
  • Updated tree-sitter parsers for core languages (#4565).
  • Improved performance when computing indent guides for buffers with extremely long lines (#15167).
  • Improved performance of project and buffer search when there are many matches (#15102).
  • Added an option to copy the file's absolute path from within the tab context menu (#13970; thanks HarshNarayanJha).
  • Improved the environment-variable detection when running tasks so that tasks can now access environment variables as if the task had been spawned in a terminal that cded into a project directory. That means environment variables set by direnv/asdf/mise and other tools are now picked up (#12125).
  • Added a button to preview Markdown files in the toolbar. Option|Alt+Click will open the preview to the side (#15215).

Languages

  • Rust: Added ability to style doc comments with comment.doc (#15322; thanks earomc).
  • Improved the outline panel for Rust to include static items (#15225).
  • Added support for language server tracing to the LSP log view.

Remoting

  • remoting alpha: Added support for terminal and tasks to new experimental ssh remoting (#15321).
  • remoting alpha: Removed the ability to specify gh cs ssh or gcloud compute ssh etc. See https://zed.dev/docs/remote-development for alternatives.

Vim

  • Added support for Vim digraphs (#11871; thanks Benjamin-Davies).
  • Added support to bind motions in insert mode.
  • Added {count} for >/< in visual mode (thanks Tobbe).
  • Fixed a hang when repeating an aborted operation (#15399; thanks Alextopher).

Bug Fixes

  • Fixed the cursor sometimes not changing on Linux X11 (#15518; thanks apricotbucket28).
  • Fixed editor::AcceptPartialInlineCompletion keybind to match VSCode (#15487).
  • Fixed Linux Desktop file missing TryExec (#15148; thanks HarshNarayanJha).
  • Fixed project panel not showing properly file entries for directories with dots in their names (#12470).
  • Fixed to hide blinking cursor when window is deactivated (#4710; thanks huacnlee).
  • Fixed a bug that caused the inline assistant to be displayed twice in certain circumstances (#15449).
  • Fixed paths starting with ./ breaking the new-path file picker when the system prompts are disabled (#15426).
  • Fixed an issue where font-related settings in settings.json were missing their descriptions.
  • Fixed typo in remote projects sign-in prompt (#15325; thanks nickcernis).
  • Linux: Fixed window menu not showing on X11 (thanks apricotbucket28).
  • Updated UI labels to respect the ui_font_weight setting (#15234).

0.146.3

07/30/2024

macOS
Linux

Bug Fixes

  • Fixed ctrl-a broken in Terminal (Linux-only, preview-only) (#15512).

0.146.2

07/30/2024

macOS
Linux
  • Added logging of stderr from Jupyter kernels to the Zed logs.

0.146.1

07/26/2024

macOS
Linux

Bug Fixes

0.146.0

07/24/2024

macOS
Linux

Enhancements

Zed now features a built-in REPL!

Run Python Block by Block
Run Python Block by Block

You can run code:

  • Line by line
  • Block by block (# %%)
  • Any selection

View the blog post for more details.

General

  • Added ability to restore all windows that were open when Zed was quit. Previously only the last used workspace was restored. This is now the default behavior. To get back the old behavior, add the following to your settings: {"restore_on_startup": "last_workspace"} (Part of #4985 and #4683).
  • Added automatic restoring of unsaved buffers. Zed can now be closed even if there are unsaved changes in buffers. One current limitation is that this only works when having projects open, not single files or empty windows with unsaved buffers. The feature can be turned off by setting {"session": {"restore_unsaved_buffers": false}} (#4985, #4683).
  • Added support for quickly switching between multiple language model providers in the assistant panel.
  • Added the ability to create custom inline assist bindings that pre-fill a prompt from your keymap, e.g.:
[
    {
        "context": "Editor && mode == full",
        "bindings": {
            "ctrl-shift-enter": [
                "assistant::InlineAssist",
                { "prompt": "Build a snake game" }
            ]
        }
    }
]
  • Added the ability to automatically generate new summaries for assistant conversations or manually edit them.
  • Added support for gpt-4o-mini (#14769, thanks versecafe).
  • Improved the way git hunks diff can be toggled with mouse. Now, clicking on the diff marker will toggle an actions menu. Inline diffs now can be closed via the mouse, rather than just esc (#12404).
  • Extended task templates with shell and hide fields to use custom shells and allow for custom close behavior.
  • Allow user to configure multiple formatters for a given language: format and format_on_save now accept an array of formatting actions to run; language_server formatter option now accepts the name of a language server to use (e.g. {"language_server": {"name": "ruff"}}); when not specified, a primary language server is used (#4822).
  • Improved SublimeText keymap (Mac & Linux). Add key binding for MoveLineUp/Down (ctrl-shift-up on Linux and cmd-ctrl-up on MacOS) (#15089; thanks unixtensor).
  • Added a button to copy the SHA from a Git blame entry (thanks Hawkbawk).
  • Added Copy, Paste, Select All, & New Terminal to the terminal context menu (thanks versecafe).
  • Added the ability to sign out of a Supermaven account (#12715; thanks kevmo314).
  • Improved Supermaven status messages (#12715; thanks kevmo314).
  • Added "command_aliases" setting to let you abbreviate commands.
  • Improved UX of project search.
  • Added a hint the first few times you open a multibuffer to explain what is going on.
  • Refined the appearance of channel tabs.
  • Changed preference for GPUs on macOS so that eGPUs are now preferred over integrated ones (and both of which are preferred over discrete GPUs) on Intel Macs.

Languages

  • Added extension for Ruff, an extremely fast Python linter and code formatter, written in Rust. To install Ruff extension, open the command palette, search for zed: extensions and then in the search bar of the extensions view type in Ruff. Once installed, you can configure ruff to add additional lints and provide formatting via the following setting snippet:
"languages": {
    "Python": {
      "format_on_save": { "language_server": { "name": "ruff" } },
      "formatter": { "language_server": { "name": "ruff" } },
      "language_servers": ["pyright", "ruff"]
    }
}
  • TypeScript's tsconfig.json files are now treated as JSONC.
  • Added syntax highlighting for the using keyword in TypeScript (#14762; thanks versecafe).
  • Added syntax highlighting to TypeScript's infer keyword (#14696; thanks rimuy).

Vim

  • Added support for count and object motion to the toggle comments action (#14337; thanks hahanein).
  • Updated Y to yank to end of line (like neovim) (#14771, thanks vbhavsar).
  • Fixed jk binding preventing you from repeating j (#14725).
  • Fixed escape in normal mode to also clear the selected register (#14311).
  • Fixed gv after y, d, etc. (#13760).
  • Fixed right clicks changing vim mode (#14625, thanks Congyuwang).
  • Fixed assistant: quote selection not working correctly when making visual-line-mode selections in Vim mode.

Bug Fixes

  • Fixed multiline details provided by vtsls breaking rendering in autocompletions (thanks WeetHet).
  • Fixed a bug where diagnostic popups would flicker when moving the cursor within the boundaries of the symbol (thanks WeetHet).
  • Fixed a bug where the inline_assistant would overwrite tabs with spaces in some cases (#14885; thanks arturhoo).
  • Fixed a bug where Supermaven truncated lines when accepting inline suggestions (#13039; thanks kevmo314).
  • Fixed rare cases where a code action triggered by diagnostic may not be available for use.
  • Fixed multi-key shortcuts not working across completion menu changes (#11009).
  • Fixed multi-key shortcuts discarding earlier input (#14445).
  • Fixed key maps so user-defined mappings take precedence over builtin multi-key mappings (#13543).
  • Fixed a bug where overridden shortcuts would still show in the Command Palette.
  • Fixed outline panel's filter not accepting spaces.
  • Fixed a bug where backslashes would not appear in snippets (#14721; thanks lnay).
  • Fixed a bug that caused focus to be lost when renames and inline assists were scrolled offscreen.
  • Fixed syntax highlights being offset from syntax in diagnostics popovers.
  • Fixed worktree ordering in workspace serialization (thanks eth0net).
  • Fixed an issue where the shared screen tab's icon would not render as dimmed when the tab was inactive.
  • Fixed ESLint language server adding comments on save if the source.organizeImports code action was used on save. Zed now filters out code actions sent to the language servers by checking whether they are supported first (#13633).
  • Linux: Fixed typing shortcuts like ctrl-/ on some systems.
  • Linux: Fixed a panic that occurred when GPU was temporarily unavailable (#12766, #14022).
  • Linux: Fixed auto-update into custom tarball locations (#14291; thanks ArrayBolt3).
  • Linux: Use local time zone in chat and Git blame (#14610; thanks apricotbucket28).

0.145.1

07/19/2024

macOS
Linux
  • go: Fix running single tests by changing the quoted expression in the go test command to work again in bash, zsh, etc. (#14818).
  • Fixed a bug where tooltips would sometimes continuously display when the button was selected.

0.145.0

07/17/2024

macOS
Linux

Enhancements

Remote Development (alpha) for everyone 🖥️🌐

screenshot_2024-07-17_at_15 32 45
screenshot_2024-07-17_at_15 32 45

Edit files or run commands on your server over SSH, whether working solo or using Zed's collaboration tools to tackle tasks together.

Learn more about remove dev and its current limitations here: https://zed.dev/docs/remote-development

General

  • Added support for following into the assistant panel.
  • Added a /symbols slash command in the assistant panel, which automatically inserted the active file's symbols into the assistant.
  • Added function signature popovers (#4879, #5155; thanks tomoikey).
    • To disable, add "show_signature_help_after_completion": false to settings.json
  • Added a setting to add file icons to buffer tabs (#12138).
    • These icons can be added by using "tabs": { "file_icons": true }.
  • Added the ability to select and copy text from information popovers (#5236; thanks effdotsh).
  • Added banners for built-in Zed features when corresponding keywords are used in the extension search.
  • Added default content for the user's keymap.json file (#14248).
  • CLI: Ability to open URIs from the command line (#14104; thanks korewaChino).
  • Improved relevance of extension search results (#14588).
  • Improved Linux manual installation docs with better desktop icons (#14435, thanks p5).
  • Linux: Added a fallback Open picker for when XDG is not working (#14524).
  • Linux: Allow zed.dev/channel (zed://) URIs to open on Linux (#14104; thanks korewaChino).
  • Linux: Added a representation of the current focus state to Zed's window style (#14202).
  • Added a new setting use_system_path_prompts (default true) that can be disabled to use Zed's builtin keyboard-driven prompts (#14524).
  • Remoting: Allow add/remove folders to projects (#14532).
  • Added toggle hunk diff and expand all hunk diffs key bindings (thanks Sensational-Code).
  • Improved the One Light color theme (thanks effdotsh).
  • Set TERM_PROGRAM and TERM_PROGRAM_VERSION environment variables in the integrated terminal (#4571; thanks ldm0).

Languages

  • Added runnable tasks for Flutter (thanks agent3bood).
  • Added Flutter tasks to Dart extension.
  • Improved accuracy of completion lists for Rust functions and modules.
  • Added support for pyright workspace configuration, as described in https://microsoft.github.io/pyright/#/settings (thanks FilipeBisinella).
  • Improved experience in projects using Yarn. Run yarn dlx @yarnpkg/sdks base in the root of your project in order to elevate your experience (#10107).

Vim

  • Added :bd/:bn/:bp (#14457).
  • Added -/+ to go to beginning of line above/below (#14183; thanks ika-musuko).
  • ctrl-m now is equivalent to enter in editor.
  • Improved visual feedback when changing cursor shape (thanks omertuc).
  • Fixed ctrl-d/ctrl-u getting to top/bottom of buffer (#13250).
  • Fixed renaming sometimes not working in vim mode (#14292, #11882, thanks Congyuwang).
  • Fixed c <motion> omitting trailing multibyte characters (#13909).
  • Fixed inline assistant sometimes not working (#11559).
  • (Breaking) Removed non-standard builtin binding from - to open the project panel. You can re-add it to your keymap file with: {"context":"VimControl", "bindings":{ "-": "pane::RevealInProjectPanel"}} (thanks ika-musuko).
  • (BREAKING) Improved vim keymap contexts.

Bug Fixes

  • Fixed tab navigation in Sublime Text keymap (unintentionally reversed directions).
  • Fixed respecting user preference for JS/TS on_type formatting (#13733, #14499; thanks matubu).
  • Linux: Fixed command palette opening from the application menu (#14459).
  • Significantly improved performance of applying large quantities of concurrent edits, for example when running "Replace all" (#14567).
  • Fixed "View Dependency Licenses" (or zed: open licenses) crashing on Linux ARM machines. (#14302).
  • remoting: Fix extension installation (#14538).
  • Added "Center the cursor in the visible area." to match MacOS ctrl-l; Added ctrl-m for JetBrain on Linux for the same (#5247).
  • Improved Linux default keybindings (#14600).
  • Fixed Cmd-\ did not toggle left dock when using Atom base keymap on macOS (#14098, thanks audionerd).
  • Fixed position of scrollbar in project panel with non-default ui_font_size values.
  • Fixed terminal colors not respecting the theme (#11418; thanks zakj).
  • Fixed large diagnostic popovers not overflowing when necessary (thanks WeetHet).
  • Fixed nushell not picking up direnv environments by directly interfacing with it using direnv export (#8633; thanks WeetHet).
  • Fixed some bugs with call notifications and with window positioning when reopening Zed (thanks huacnlee).
  • Fixed line wrap for CJK characters (thanks huacnlee).
  • Fixed insertion of extra characters for some keystrokes if terminal.option_as_meta is enabled (#7728; thanks denisw).
  • Fixed untitled buffers displaying a soft-wrap wrap-guide at preferred_line_length by default. (#12473).
  • Fixed losing output of a spawned task (#13683; thanks hron).

0.144.3

07/16/2024

macOS
Linux
  • linux: Fixed overflow in xkbcommon-rs (#14571)
  • linux: Fixed the issue where text appears twice in the editor after Chinese Character input.(linux: Fix IME on fcitx). (#14558)
  • linux: Remove "Install CLI" from welcome, it is not necessary (#14506)
  • linux: Fixed opening urls/directories on systems where the xdg desktop portal doesn't handle those requests. (#14359)
  • linux: Fix IME under fcitx5 (#14192) (#14508)
  • Improved prettier detection to pick up its installation from transitive dependencies (12731
  • Improved Zed logic for sending textDocument/didSave request (14286)
  • Added dynamic [un]registration for LSP formatting capabilities (#12661)

0.144.2

07/12/2024

macOS
Linux
  • linux: Fix more panics on launch when GPU is mis-configured. Also link to the docs in the error message.
  • linux: Fix panic when failing to parse a keystroke from xkbcommon
  • linux: Fix panic when setting cursor to a kind that the platform does not support

0.144.1

07/11/2024

macOS
Linux

Bug fixes

  • Linux Keymap: Move editor::JoinLines to ctrl-shift-j (#14136).
  • Fix reverse selections always being cleared, even if the right click was performed inside (#14150). Preview-only.

0.144.0

07/10/2024

macOS
Linux

Linux Support 🎉

Linux when? Linux now. 🎉🐧

For the last 6 months, our team and our open source community have been working hard to bring Zed to Linux.

As of today, we've released our first, official, stable build of Zed on Linux!

Enhancements

Languages

  • Added support for setting classAttributes in the configuration for tailwindcss-language-server. Example: { "lsp": { "tailwindcss-language-server": { "settings": { "classAttributes": [ "class", "className", "ngClass", "styles" ] } } } }.

General

  • Extensions can now provide snippets by including snippets.json file next to the extension manifest.
  • Move snippet support into the core editor deprecating the snippet extension. Snippets are now available in any buffer including plain text. (#13937).
  • Improved back/forward tooltips (#8459).
  • Improved contrast between some items in the One Dark theme.
  • Added support for filtering in the outline panel (#13984).

Vim

  • Fixed vim undo and redo commands not taking counts. (#13950, thanks mattfbacon).
  • Fixed an issue with start of line anchor in regex search (#13920, thanks rokob).

Bug Fixes

  • Fixed auto close for single quotes in Python (#13972).
  • Fixed telemetry putting temporary files in config_dir (#7155).
  • Fixed origin packages not being surfaced in Rust completions (#13494).
  • Fixed honoring of the terminal.font_weight user setting (thanks hron).
  • Fixed selections being cleared when right-click was performed outside of a selection (#4267, thanks WeetHet).
  • Fixed Go shell escaping for tasks (#14054, thanks DanielMSchmidt).
  • Fixed undocumented system dependency on unzip to extract .zip files downloaded by extensions.
  • Fixed some issues with restoring the state of some panels after a restart (#9638, #12954, thanks yongkangchen).
  • Nix's flake.lock files are now automatically identified as JSON.

0.143.6

07/10/2024

macOS
Linux
  • (Linux only) Shipping pre-launch changes

0.143.5

07/09/2024

macOS
Linux

0.143.4

07/09/2024

macOS
Linux
  • (Linux only) Shipping pre-launch changes

0.143.3

07/09/2024

macOS
Linux
  • (Linux only) Shipping pre-launch changes

0.143.2

07/05/2024

macOS
Linux
  • Fixed delay when changing scrolling direction (#13867).

0.143.1

07/05/2024

macOS
Linux
  • Linux window decorations (#13611)

0.143.0

07/03/2024

macOS
Linux

Enhancements

AI

  • Added new assistant: insert into editor Action. Default keybinding: cmd-< on macOS, ctrl-< on Linux (#13467).

General

  • Changed the default fonts to IBM Plex Sans and IBM Plex Mono. If you'd like to go back to using Zed Sans/Zed mono you need to download them and install them (#13596).
  • Default to a light theme during the day (#9627)
  • Add keyboard shortcuts for scrolling in terminal (#4917, #12231).
  • Changed the default key bindings for pageup/pageup on Mac and Linux so that it moves the cursor (editor::MovePageDown). Previous scroll only behavior (editor::PageDown) is now available via cmd-pagedown on MacOS and alt-pagedown on Linux (#13389)
  • Added updated window controls on Linux (#13751)
  • Added recognizing *.markdown files as Markdown (#13608).
  • Added duplicate line shortcut to Sublime Text shortcuts (#13640)
  • Added shift shift as a default binding to open the command palette in the JetBrains keymap (#13556).

Performance

  • Improve editor's performance with large undo histories (#13656)
  • Improved performance of "replace all" in buffer search and project search (#13654).
  • Improved power consumption on Intel Macs by preferring integrated GPUs over the discrete GPUs. (#5124).

Vim

  • vim: Support for macros (q and @) to record and replay (#1506, #4448).
  • vim: Fix undo after repeated insert/replace mode (#13573).
  • vim: Fix 'r' repeating too much (#13566).
  • vim: Fixed : in empty diagnostics view (#13624)
  • vim: Fixed g/ outside of an editor (#13624).
  • vim: Add vim bindings for outline panel (#13763).

Bug Fixes

  • Fixed some responses being dropped from OpenAI-compatible providers (#13741 thanks @AdjectiveAllison).
  • Improved project panel ergonomics (#13704)
  • Fixed focusing the terminal when re-spawning a task (#13674). See video: focus-task-fix.webm
  • Fix auto-rename ranges with special characters (#13551).
  • Fixed Rust tests not working when crates Cargo.toml is not at the root of a worktree (#13658).
  • Fixed Vue extension not picking up user-provided initialization options (13580).
  • Code maintenance in the editor crate (#13565, thanks @Peiffap).

0.142.4

07/03/2024

macOS
Linux
  • Fixed JSON validation being disabled by default (Preview only)
June

0.142.3

06/28/2024