# Update Recent Projects picker to show SSH host \(\#44349\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/62c312b35ff944f72a9bd1104dbbdcc1cdd885e4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 62c312b35ff944f72a9bd1104dbbdcc1cdd885e4

Requested commit: 62c312b35ff944f72a9bd1104dbbdcc1cdd885e4

Commit: 62c312b35ff944f72a9bd1104dbbdcc1cdd885e4

Tree: 021b86828e240242f70dc2ca41b4cc4f97ad1d62

Author: Lee Nussbaum

Committer: GitHub

## Message

```
Update Recent Projects picker to show SSH host (#44349)

**Problem addressed:**

Cannot distinguish an identical path on multiple remote hosts in the
"Recent Projects" picker.

**Related work:**

- Issue #40358 (already closed) identified the issue in the "Expected
Behavior" section for both WSL and SSH remotes.
- PR #40375 implemented WSL distro labels.

**Screenshots:**

Before:
<img width="485" height="98" alt="screenshot-sample-project-before"
src="https://github.com/user-attachments/assets/182d907a-6f11-44aa-8ca5-8114f5551c93"
/>

After:
<img width="481" height="94" alt="screenshot-sample-project-after"
src="https://github.com/user-attachments/assets/5f87ff12-6577-404e-9319-717f84b7d2e7"
/>

**Implementation notes:**

RemoteConnectionOptions::display_name() will be subject to
exhaustiveness checking on RemoteConnectionOption variants.

Keeps the same UI approach as the WSL distro variants.

Release Notes:

- Improved Recent Projects picker: now displays SSH hostname with
remotes.
```

## Parents

- [066dd5c9d519f05927f46ec9bed32e1b9381eaf3](https://git.cafe/gitcafe/zed/commit/066dd5c9d519f05927f46ec9bed32e1b9381eaf3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/62c312b35ff944f72a9bd1104dbbdcc1cdd885e4?format=markdown)
