Zed v0.138.4 introduces significant project panel management features, enhanced task automation for Go and package ecosystems, and new visual editing aids like indent guides. These updates improve workspace navigation and developer workflow efficiency within the IDE.
Developers will benefit from enhanced multi-selection in the project panel, new task variables for build scripts, and improved Vim navigation bindings.
📊 Product & Engineering Leads
The release delivers higher feature velocity by simplifying directory creation and adding intuitive drag-and-drop file organization in the project panel.
⚙️ DevOps & Security
No specific infrastructure or deployment impacts; the change in default share-on-join settings is a minor security-focused configuration shift.
✨ New Features & Capabilities (5)
Added visual indent guides for code structure clarity
Multi-entry selection and batch actions in project panel
Support for reordering worktrees via drag and drop
Runnable support for package.json, composer.json, and Go testing/benchmarks
New task environment variables: ZED_RELATIVE_FILE and ZED_DIRNAME
⚡ Performance & Enhancements (4)
Customizable UI font weights via CSS units
Support for background_color in theme.json syntax maps
Improved untitled buffer formatting with Prettier
Expanded Vim keybinding support for diagnostics, git hunks, and implementation navigation
🔧 Bug Fixes & Patches (4)
Fixed performance regression causing delays after commits in large git repositories
Resolved visual glitches with git hunks during font resizing
Fixed panic issues during color parsing and assistant selection quoting
Addressed autocomplete documentation display bugs
❓ Frequently Asked Questions
Does Zed v0.138.4 contain breaking changes?
No, there are no documented breaking changes in this release. The default value for calls.share_on_join was changed to false, which is a configuration shift but not a breaking API change.
What is the primary highlight of v0.138.4?
The primary highlight is the substantial upgrade to the project panel, allowing for multi-select, batch file operations, and worktree reordering, alongside improved runnable support for Go and package managers.
How should teams prepare to upgrade to v0.138.4?
Teams should simply update their local Zed client as no migration steps or dependency changes are required.
📄 View Raw Release Notes (Original Developer Log)
## Enhancements
### General
- Added indent guides ([#5373](https://github.com/zed-industries/zed/issues/5373)).

- 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.
### Project Panel
- Added support for selecting multiple entries via `cmd-click` and `shift-click`/`shift-up`/`shift-down` in the project panel ([#4983](https://github.com/zed-industries/zed/issues/4983)).
- Added support for handling multiple selected project panel entries to Cut, Copy, Trash, and Delete actions ([#4983](https://github.com/zed-industries/zed/issues/4983)).
- Added the ability to copy a project panel entry by holding the `opt` modifier when dragging and dropping ([#5119](https://github.com/zed-industries/zed/issues/5119)).
- Added icon and hover description for symlinks in the project panel.


- 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](https://github.com/zed-industries/zed/issues/10883)).
- Check out the [video](https://github.com/zed-industries/zed/assets/1347854/1c63d83c-5d4e-4b55-b840-bfbf32521b2a).
- Added binding key to `Delete` action in the project panel context menu ([#12234](https://github.com/zed-industries/zed/issues/12234)).
### 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](https://github.com/zed-industries/zed/issues/12277)).
- Check out the [video](https://github.com/zed-industries/zed/assets/5518/4cd05fa5-4255-412b-8583-68e22f86561e).
- 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 for `package.json` and `composer.json` scripts ([#12215](https://github.com/zed-industries/zed/issues/12215)).
- Added `.mdwn` as a Markdown file extension.
- Added runnable icon for Rust `#[cfg(test)] mod tests` blocks ([#11967](https://github.com/zed-industries/zed/issues/11967)).
- Added Runnables/Tasks in Go for:
- Run test functions which start with "Test"
- Run subtests
- Run benchmark tests
- Run main function

Check out the [video](https://github.com/zed-industries/zed/assets/1047345/ae1abd9e-3657-4322-9c28-02d0752b5ccd).
### 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 an issue where expanded git hunks were rendered in the wrong position when toggling git blame or resizing the buffer font (https://github.com/zed-industries/zed/issues/11941)
- 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](https://github.com/zed-industries/zed/issues/9819)).
- Fixed JetBrains keymap `search::SelectAllMatches` action (`alt-enter`) ([#11840](https://github.com/zed-industries/zed/issues/11840)).
- Fixed a panic that could occur when trying to parse colors with unicode characters ([#12085](https://github.com/zed-industries/zed/issues/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](https://github.com/zed-industries/zed/issues/12152)).
- Fixed positioning of whitespace dots on multibyte text ([#10332](https://github.com/zed-industries/zed/issues/10332)).
- Vim: Fixed `shift-d` in visual and visual block mode.