Files
zed/crates/repl
狐狸 fae4b2ea4f workspace: Fix local file opens with remote workspaces (#65771)
## Summary

Closes #58773

While working on this, I noticed that project grouping and workspace
lookup used different connection comparisons. I unified them around the
existing `RemoteConnectionIdentity`.

I also simplified the relevant code, removing redundant lookup and
comparison helpers and borrowing values instead of cloning them when the
caller only needs to read the data.

## Testing

Added corresponding test coverage

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- Fixed local files opening as empty buffers in remote workspaces.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
2026-10-28 15:21:57 +00:00
..