remote: Reuse existing window when opening zed://ssh/ URLs for the same host - #48310
Closed
zertosh wants to merge 1 commit into
Closed
remote: Reuse existing window when opening zed://ssh/ URLs for the same host#48310zertosh wants to merge 1 commit into
zertosh wants to merge 1 commit into
Conversation
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. |
Contributor
Author
|
Oh thank you! Looking forward to it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When opening a
zed://ssh/$AUTHORITY/$PATHurl, zed always opened a newwindow, 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
zedcliwhen opening a local path.
Release Notes:
zed://ssh/urls will now reuse an existing window if possible.