Skip to content

Reuse existing windows when opening files in remote workspaces#48891

Merged
reflectronic merged 8 commits intomainfrom
cli-open-same-window
Feb 10, 2026
Merged

Reuse existing windows when opening files in remote workspaces#48891
reflectronic merged 8 commits intomainfrom
cli-open-same-window

Conversation

@reflectronic
Copy link
Member

Closes #42366

  • Tests or screenshots needed?
  • Code Reviewed
  • Manual QA

Release Notes:

  • Opening files with the Zed CLI will reuse existing windows for remote workspaces.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 10, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 10, 2026
@reflectronic reflectronic marked this pull request as ready for review February 10, 2026 22:42
@reflectronic reflectronic merged commit d2c922b into main Feb 10, 2026
27 checks passed
@reflectronic reflectronic deleted the cli-open-same-window branch February 10, 2026 22:48
reflectronic added a commit that referenced this pull request Feb 11, 2026
#48891 changed `find_worktree`
to use `PathStyle::strip_prefix`, which exposed this bug.

- [ ] Tests or screenshots needed?
- [X] Code Reviewed
- [X] Manual QA

Release Notes:

- N/A
mikayla-maki added a commit that referenced this pull request Feb 11, 2026
mikayla-maki added a commit that referenced this pull request Feb 12, 2026
reflectronic added a commit that referenced this pull request Feb 16, 2026
)

Re-lands #48891, which was
reverted due to conflicts with multi-workspace.

Before you mark this PR as ready for review, make sure that you have:
- [X] Added a solid test coverage and/or screenshots from doing manual
testing
- [X] Done a self-review taking into account security and performance
aspects

Release Notes:

- N/A
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
)

Re-lands #48891, which was
reverted due to conflicts with multi-workspace.

Before you mark this PR as ready for review, make sure that you have:
- [X] Added a solid test coverage and/or screenshots from doing manual
testing
- [X] Done a self-review taking into account security and performance
aspects

Release Notes:

- N/A
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 staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: zed.exe --wsl always opens a new window instead of reusing the existing WSL workspace

1 participant