0.159.2
10/28/2024
macOS
Linux
Enhancements
- Added indent guides to the project panel (#18260).
- Added indent guides to the outline panel (#19719)
- vim: o/O now respect
extend_comment_on_newline
(#19766) - Added autoclosing of rust multiline strings (#19765).
- Added the ability to fold all blocks of code at a target "level." macOS:
cmd-k, cmd-<number>
, Linux:ctrl-k, ctrl-<number>
(#19750). - Added keybindings for applying hunks in Proposed Changes:
cmd-shift-y
/ctrl-shift-y
(#19749). - Improved Inline Assistant placeholder text. Including focus context panel and navigate history key bindings (#19447).
- Added toolchain selector to the status bar with initial support for Rust and Python (#19576).
Bug Fixes
- Fixed outline panel panicking on filtering (#19811)
- Fixed horizontal scrollbar not being hidden (#19767).
- Fixed an issue where HTML tags within list items would break the markdown preview (#19785)
- Fixed an issue where clicking on an image inside the project panel would not re-use an existing image tab (#19717).
- Fixed autoclosing quotes when the string is already open (#19765).
- Fixed project panel bug when renaming files where up/down keys could select other files (#19670; thanks zhang0098).
SSH Remoting:
- Fixed a bug where the branch switcher could not be used remotely (#19755).
- Changed the update logic of the SSH remote server to not fetch the latest version for a current channel, but to fetch the version matching the current Zed version. If Zed is updated, the server is updated too. If the server is newer than the Zed version an error will be displayed (#19740).
- Changed the update process of the remote server binary to not attempt an update if we can detect that the current binary is used by another process (#19724).
- Changed the update process of the remote server binary to mark the lock file as stale in case the SSH connection of the process that created the lock file isn't open anymore (#19724).
- Reuse SSH connections across hosts (#19692).
- Fixed a bug where inerrrupting ssh connecting could leave your local binary cached in an invalid state (#19700).
- SSH connections now download the server binary on the host by default. (#19748)
If you want to upload the binary from the client machine, change the upload_binary_over_ssh
value to true
in the settings.
Example:
{
"ssh_connections": [
{
"host": "192.168.1.10",
"projects": ["~/code/zed/zed"],
// by default Zed will download the server binary from the internet on the remote.
// When this is true, it'll be downloaded to your laptop and uploaded over SSH.
// This is useful when your remote server has restricted internet access.
"upload_binary_over_ssh": true
}
]
}