## Summary Opening Remote Projects could leave SSH aliases missing even though they were present in the local SSH config. When asynchronous discovery finishes after the initial picker refresh, the watcher reloads the delegate but does not reset the list's cached item count. Config edits can likewise leave visible rows stale. Refresh the picker through `refresh_default_picker` after each SSH config update, using the window context. This synchronizes the visible rows with the discovered hosts and reapplies the current search query. ## Testing - Built and ran the patched application on macOS arm64; the author manually reviewed and verified that the fix works. - All 37 `recent_projects` library tests passed. - Both new rendered-UI regression tests failed with the original watcher and passed with the fix. They cover host addition/removal, empty config, and preserving an active search filter. - Formatting and whitespace checks passed. Automated test command: ```sh cargo +1.98.1 test --locked -p recent_projects -p gpui_platform --features gpui_platform/runtime_shaders --lib ``` The runtime shader feature was used because the local machine has Command Line Tools without the full Xcode Metal toolchain. Relevant test results: ```text Original watcher: 0 passed; 2 failed Patched recent_projects suite: 37 passed; 0 failed ``` To verify manually, open Remote Projects with `read_ssh_config` enabled and check that configured aliases appear without typing. With the picker open, add or remove a concrete `Host` alias in the SSH config and verify the rows update. Repeat with a search query active. ## Self-review - [x] The change has been reviewed and manually verified by the author. - [x] Tests cover the changed behavior, including rendered rows and active filtering. - [x] The fix uses the existing picker refresh path and introduces no new UI controls. ## Suggested .rules additions For `recent_projects` modal rendering tests, create a `MultiWorkspace` window containing the test `Workspace`. A bare `Workspace` window does not render the modal layer, so rendered-row assertions cannot observe the picker. Release Notes: - Fixed SSH config hosts sometimes remaining missing or stale in the remote projects picker. --------- Co-authored-by: Finn Evers <finn.evers@outlook.de> |
||
|---|---|---|
| .agents/skills | ||
| .cargo | ||
| .cloudflare | ||
| .config | ||
| .factory | ||
| .github | ||
| .wezel | ||
| .zed | ||
| assets | ||
| ci | ||
| crates | ||
| docs | ||
| extensions | ||
| legal | ||
| nix | ||
| script | ||
| tooling | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| .prettierrc | ||
| .rules | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| clippy.toml | ||
| CODE_OF_CONDUCT.md | ||
| compose.yml | ||
| CONTRIBUTING.md | ||
| corgi.toml | ||
| default.nix | ||
| Dockerfile-collab | ||
| Dockerfile-collab.dockerignore | ||
| Dockerfile-cross.dockerignore | ||
| Dockerfile-distros | ||
| Dockerfile-distros.dockerignore | ||
| flake.lock | ||
| flake.nix | ||
| GEMINI.md | ||
| LICENSE-APACHE | ||
| LICENSE-GPL | ||
| Procfile | ||
| Procfile.web | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| shell.nix | ||
Zed
Welcome to Zed, a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Installation
On macOS, Linux, and Windows you can download Zed directly or install Zed via your local package manager (macOS/Linux/Windows).
Other platforms are not yet available:
- Web (tracking discussion)
Developing Zed
Contributing
See CONTRIBUTING.md for ways you can contribute to Zed.
Also... we're hiring! Check out our jobs page for open roles.
Licensing
Zed source code is licensed primarily under GPL-3.0-or-later, with Apache-2.0 components where marked.
License information for third party dependencies must be correctly provided for CI to pass.
We use cargo-about to automatically comply with open source licenses. If CI is failing, check the following:
- Is it showing a
no license specifiederror for a crate you've created? If so, addpublish = falseunder[package]in your crate's Cargo.toml. - Is the error
failed to satisfy license requirementsfor a dependency? If so, first determine what license the project has and whether this system is sufficient to comply with this license's requirements. If you're unsure, ask a lawyer. Once you've verified that this system is acceptable add the license's SPDX identifier to theacceptedarray inscript/licenses/zed-licenses.toml. - Is
cargo-aboutunable to find the license for a dependency? If so, add a clarification field at the end ofscript/licenses/zed-licenses.toml, as specified in the cargo-about book.
Sponsorship
Zed is developed by Zed Industries, Inc., a for-profit company.
If you’d like to financially support the project, you can do so via GitHub Sponsors. Sponsorships go directly to Zed Industries and are used as general company revenue. There are no perks or entitlements associated with sponsorship.