Skip to content

remote: Reuse existing window when opening zed://ssh/ URLs for the same host - #48310

Closed
zertosh wants to merge 1 commit into
zed-industries:mainfrom
zertosh:reuse_remote_window
Closed

remote: Reuse existing window when opening zed://ssh/ URLs for the same host#48310
zertosh wants to merge 1 commit into
zed-industries:mainfrom
zertosh:reuse_remote_window

Conversation

@zertosh

@zertosh zertosh commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

When opening a zed://ssh/$AUTHORITY/$PATH url, zed always opened a new
window, even if there is already a window connected to that host. Now it
finds an existing workspace window with a matching remote connection and
opens the file there instead. This matches the behavior of the zed cli
when opening a local path.

Release Notes:

  • Opening zed://ssh/ urls will now reuse an existing window if possible.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Feb 4, 2026
@reflectronic

Copy link
Copy Markdown
Member

Thanks for the pull request. I've been working on #48891 that implements the same functionality while also cleaning up some duplication in this part of the codebase. I'll be closing this PR in favor of that one.

@zertosh
zertosh deleted the reuse_remote_window branch February 10, 2026 20:36
@zertosh

zertosh commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

Oh thank you! Looking forward to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants