Releases: zed-industries/zed
Releases · zed-industries/zed
v0.139.0-pre
Enhancements
General
- Added the ability to restart the remote language servers when collaborating.
- Added
boundary
whitespace rendering option (#4290).
- Added support for copying permalinks inside multi-buffers (#11392).
- Added the ability to format unsaved buffers with external formatters (#4529).
- Improved excluded entry creation workflow in the project panel (#10890).
- Improved Zed's responsiveness when initially opening a project containing a very large git repository (#9575).
- Improved the performance of git status updates when working in large git repositories (#4294).
AI
- Improved the UX for selecting a model in the assistant panel. You can now switch models using just the keyboard by pressing
alt-m
. Also, when switching models via the UI, settings will now be updated automatically. - Improved UX for the inline assistant. It will now automatically wrap when the text gets too long, and you can insert newlines using
shift-enter
.
Languages
- Added runnable tasks for Python
unittest
(#12080). - Added runnable tests for JavaScript & TypeScript files.
- Added task to run selected JavaScript code.
- Added support for using vtsls language server for TypeScript/JavaScript. To enable vtsls, adjust the
language_servers
field of the language in yoursettings.json
file:
"TypeScript": {
"language_servers": ["!typescript-language-server", "vtsls", ".."],
}
- Improved performance and reliability of completions in large TypeScript projects (#5166).
- Added completions for
tsconfig.json
config file. - Improved Vue highlighting (#8989).
- Added runnable tasks for Elixir tests (modules,
describe
, andtest
blocks).
Vim
- Implemented
>
and<
with motions and text objects (#9697).
Bug Fixes
- Fixed file drag and drop not working for the terminal.
- Fixed a crash caused by bad file descriptor lifetime handling.
- Fixed crash on macOS when using certain input sources.
- Fixed TSX shorthand property syntax highlighting (#12510).
- Fixed JavaScript shorthand property syntax highlighting (#12509).
- Fixed a bug where "rerun last task" in task modal was not working (#12580).
- Fixed an issue in vim mode where using
find
(f
) to search for the letterg
caused a delay while the editor awaited further input (#12483). - Fixed the alignment for the inline assistant.
- Fixed TypeScript shorthand property highlight (#5239).
- Fixed some bugs with running tests in Elixir.
Breaking Changes
- Rebound "picker::UseSelectedQuery" from
opt-E
toF2
(#12580).
v0.138.4
Enhancements
General
- Added indent guides (#5373).
- Improved expand excerpt indicators in multi-buffers to allow unidirectional expansion. Also added the
editor::ExpandExcerptsUp
andeditor::ExpandExcerptsDown
actions, which can both take alines
parameter. Also added anexpand_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
insyntax
map intheme.json
. - Changed the default
calls.share_on_join
value tofalse
. - 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
andshift-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.
- 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).
- Check out the video.
- Added binding key to
Delete
action in the project panel context menu (#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).
- Check out the video.
- Added
ZED_RELATIVE_FILE
(path to current file relative to worktree root) andZED_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
Check out the video.
- Added runnable for
package.json
andcomposer.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 an issue where expanded git hunks were rendered in the wrong position when toggling git blame or resizing the buffer font (#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).
- 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.138.4-pre
- 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
- 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
- Fixed a panic that could sometimes occur when rerunning tasks.
v0.138.2-pre
- Removed a work-in-progress feature from the assistant panel.
v0.138.1-pre
- 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
Enhancements
General
- Added indent guides (#5373).
- Improved expand excerpt indicators in multi-buffers to allow unidirectional expansion. Also added the
editor::ExpandExcerptsUp
andeditor::ExpandExcerptsDown
actions, which can both take alines
parameter. Also added anexpand_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
insyntax
map intheme.json
. - Changed the default
calls.share_on_join
value tofalse
. - 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
andshift-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.
- 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).
- Check out the video.
- Added binding key to
Delete
action in the project panel context menu (#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).
- Check out the video.
- Added
ZED_RELATIVE_FILE
(path to current file relative to worktree root) andZED_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
Check out the video.
- Added runnable for
package.json
andcomposer.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
- Removed a work-in-progress feature from the assistant panel.