Skip to content

Reuse existing windows when opening files in remote workspaces - #48891

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

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

Conversation

@reflectronic

Copy link
Copy Markdown
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
jasonsmithio pushed a commit to paddleboarddev/paddleboard that referenced this pull request May 31, 2026
zed-industries/zed#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
jasonsmithio pushed a commit to paddleboarddev/paddleboard that referenced this pull request May 31, 2026
…307)

Re-lands zed-industries/zed#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
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…ndustries#48891)

Closes zed-industries#42366

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

Release Notes:

- Opening files with the Zed CLI will reuse existing windows for remote
workspaces.
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
zed-industries#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
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…-industries#49307)

Re-lands zed-industries#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
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…ndustries#48891)

Closes zed-industries#42366

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

Release Notes:

- Opening files with the Zed CLI will reuse existing windows for remote
workspaces.
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