Skip to content

Releases: zed-industries/zed

v0.138.4-pre

03 Jun 15:41
Compare
Choose a tag to compare
v0.138.4-pre Pre-release
Pre-release
  • Fixed an issue where indent guides would show up in a single line editor (e.g. project search, buffer search).
  • Fixed an issue where indent guide specific settings were not recognized when specified in local settings (#12564).
  • Respect language specific settings when showing indent guides in a multibuffer.

v0.138.3-pre

31 May 16:29
Compare
Choose a tag to compare
v0.138.3-pre Pre-release
Pre-release
  • Fixed an issue where indent guides would use an incorrect tab size
    (#12492).
  • Fixed a panic that could sometimes occur when rerunning tasks.

v0.137.6

31 May 16:14
Compare
Choose a tag to compare
  • Fixed a panic that could sometimes occur when rerunning tasks.

v0.138.2-pre

30 May 16:40
Compare
Choose a tag to compare
v0.138.2-pre Pre-release
Pre-release
  • Removed a work-in-progress feature from the assistant panel.

v0.138.1-pre

29 May 19:16
Compare
Choose a tag to compare
v0.138.1-pre Pre-release
Pre-release
  • Fixed an issue where expanded git hunks were rendered in the wrong position when toggling git blame or resizing the buffer font (#11941)

v0.138.0-pre

29 May 17:46
Compare
Choose a tag to compare
v0.138.0-pre Pre-release
Pre-release

Enhancements

General

  • Added indent guides (#5373).

indent_guides

  • Improved expand excerpt indicators in multi-buffers to allow unidirectional expansion. Also added the editor::ExpandExcerptsUp and editor::ExpandExcerptsDown actions, which can both take a lines parameter. Also added an expand_excerpt_lines setting which controls the default number of lines that the indicators and actions use.
  • Added the ability to configure the weight of your UI font in standard CSS weight units from 0 to 900.
  • Added support for background_color in syntax map in theme.json.
  • Changed the default calls.share_on_join value to false.
    Improved ergonomics of untitled buffer formatting with Prettier; no additional language settings are needed by default.
  • Added binding key to Delete action in the project panel context menu (#12234).

Project Panel

  • Added support for selecting multiple entries via cmd-click and shift-click/shift-up/shift-down in the project panel (#4983).
  • Added support for handling multiple selected project panel entries to Cut, Copy, Trash, and Delete actions (#4983).
  • Added the ability to copy a project panel entry by holding the opt modifier when dragging and dropping (#5119).
  • Added icon and hover description for symlinks in the project panel.

symlink_icon

symlink_tooltip

  • Improved workflow for creating a directory in the project panel. When creating a new file, a filename ending with / creates a directory.
  • Improved organization of worktrees in the project panel. Now you can reorder worktrees by dragging and dropping them (#10883).

AI

  • Improved clarity for inline transformations by always including the active assistant context.
  • Removed an over-eager system prompt from the assistant that was causing misbehavior. Going forward, our intent is to always let you observe and edit text before we send it.
  • Added a send button to the assistant panel.

Tasks

  • Added re-run task button to terminal title (#12277).
  • Added ZED_RELATIVE_FILE (path to current file relative to worktree root) and ZED_DIRNAME (path to the directory containing current file) task variables.

Languages

  • Added runnable icon for Rust #[cfg(test)] mod tests blocks (#11967).
  • Added Runnables/Tasks in Go for:
    • Run test functions which start with "Test"
    • Run subtests
    • Run benchmark tests
    • Run main function

go_runnables
Check out the video.

  • Added runnable for package.json and composer.json scripts (#12215).
  • Added .mdwn as a Markdown file extension.

Vim

  • Added ]d/[d for go to prev/next diagnostic.
  • Added ]c/[c to go to prev/next git change (:diff and :revert show the diff and revert it).
  • Added g cmd-d for go to implementation.

Bug Fixes

  • Fixed a bug that caused long delays in opening files right after performing a commit in very large git repositories.
  • Fixed an issue where the editor would scroll upwards if other tabs were closed using the middle mouse button.
  • Fixed hunk indicators getting expanded when clicking near them, but not on them.
  • Fixed wrap guides overlapping with the inline assistant (#9819).
  • Fixed JetBrains keymap search::SelectAllMatches action (alt-enter) (#11840).
  • Fixed a panic that could occur when trying to parse colors with unicode characters (#12085).
  • Fixed a panic that occurred when using the assistant: quote selection command while signed out.
  • Fixed a bug where documentation was sometimes missing from the autocomplete popover (#12152).
  • Fixed positioning of whitespace dots on multibyte text (#10332).
  • Vim: Fixed shift-d in visual and visual block mode.

v0.137.5

30 May 16:36
Compare
Choose a tag to compare
  • Removed a work-in-progress feature from the assistant panel.

v0.137.3

29 May 19:15
Compare
Choose a tag to compare
  • Fixed an issue where expanded git hunks were rendered in the wrong position when toggling git blame or resizing the buffer font (#11941)

v0.137.2

29 May 16:53
Compare
Choose a tag to compare

Enhancements

General

  • Added the ability to format unsaved buffers with Prettier. This requires setting a Prettier parser in the user settings. Example for JSON: { "languages": { "JSON": { "prettier": { "allowed": true, "parser": "json" } } } } (#4529).
  • Changed the behavior of workspace::CloseActiveItem: when you're using macOS and there are no open tabs, it now closes the window (#5322). This can be controlled with a new setting, when_closing_with_no_tabs, to disable it on macOS, or enable it on other platforms.
  • Improved file finder search sorting (#11970).
  • Improved editing of file names in the project panel. Now, the file icon is shown as soon as the file extension is typed, even before the rename is confirmed.
  • Added a proxy setting (#5032, #6701, #8650, #9424, #9422, #11890).
  • Added a Duplicate action to the project panel (#5304).
  • Added the ability to create directories in open->file dialog on macOS.

Create directories in open->file dialog on macOS

  • Added a New Window item to the dock menu (#11651).

  • Standardized CLI application startup to match non-CLI application startup behavior: both now open an empty file or show the welcome page if no previous workspace exists and no path is provided.

  • Added glob support for file_types configuration (#10765).

file_types can now be written like this:

"file_types": {
  "Dockerfile": [
    "Dockerfile",
    "Dockerfile.*",
  ]
}
  • Added Cut, Copy, and Paste actions to the editor context menu (#4280).
  • Changed middle mouse down to trigger columnar selection, creating a rectangle of multicursors over a dragged region (#11990).
  • Improved performance of editing the assistant panel and untitled buffers with many edits.
  • Added font feature values. Now you can set font features like "cv01": 7.
  • Changed context menus in editors to no longer scale with buffer_font_size.
  • Added support for all OpenType font features to macOS.
  • Changed the default ESLint configuration to include the following in order to silence warnings/errors: {"codeAction": { "disableRuleComment": { "enable": true, "location": "separateLine", }, "showDocumentation": { "enable": true } }}

AI

  • Added editor::AcceptInlineCompletion action (bound to Tab by default). To prevent accepting inline completions with tab, add {"context": "Editor && inline_completions", "bindings": {"tab": "editor::Tab"}} (#6788).

Tasks

  • Added coloration to task icons in terminal based off status (#11968).

Task icon coloration

Languages

  • Added support for autoclosing of HTML tags in local projects (#5267). This feature is enabled by default, but can be disabled with the following snippet in your settings.json:
"lsp": {
  "vscode-html-language-server": {
    "settings": {
      "html": { "tagAutoclosing": false }
    }
  }
}
  • Added built-in Go runnables and tasks that allow users to run Go test functions, test packages, or run main functions.
  • Added gopls support when opening go.mod or go.work files.
  • Added test runnable detection for PHP (PHPUnit & Pest).
  • Added task for running selected PHP code.
  • Added describe, test, and it functions to buffer symbols to support Pest runnable in PHP.
  • Added yield keyword to PHP keyword mapping.
  • Added GraphQL icon for .gql and .graphqls files.
  • Added ability to pass initialization_options to Ruby language servers (solargraph and ruby-lsp).
  • Added ability to configure own build of tailwindcss-language-server in Zed settings. Example: {"lsp":{"tailwindcss-language-server":{"binary":{"arguments":["/absolute/path/to/tailwindcss-language-server/bin/tailwindcss-language-server", "--stdio" ]}}}}
  • Fixed documentation not showing up for completion items coming from tailwindcss-language-server (#10532).

Bug Fixes

  • Fixed $ZED_SELECTED_TEXT variable in Tasks ignoring whether visual-line-mode in Vim was used.
  • Fixed language servers (such as gopls) not starting up correctly when opening a single file in Zed (#11361, #8764).
  • Fixed Zed's internal Node runtime not being put in $PATH correctly when running language servers and other commands with node (#11890).
  • Fixed gopls not working correctly when the go.mod file was in a subfolder and not the root folder of the project opened in Zed (#10224).
  • Fixed backtick characters not getting autoclosed in Golang files (#12025).
  • Fixed keybinding for rename in project panel context menu to be F2 (#11608).
  • Fixed a bug where lsp completion requests were sometimes being made twice.
  • Fixed default Prettier not respecting Zed's hard_tabs settings.
  • Fixed multiple save modals appearing for the same file being closed (#10192).
  • Fixed a theme-specific bug with highlighting of variable in Python files (#11666).

v0.137.2-pre

24 May 04:51
Compare
Choose a tag to compare
v0.137.2-pre Pre-release
Pre-release
  • (more) Fixes for remote development (alpha group only)