feat(shell): open workspace folders in Zed when installed#685
Draft
ChristianLuciani wants to merge 2 commits into
Draft
feat(shell): open workspace folders in Zed when installed#685ChristianLuciani wants to merge 2 commits into
ChristianLuciani wants to merge 2 commits into
Conversation
Add ToolType::Zed with install detection (PATH + macOS app CLI) and open-folder-with parity for VS Code. Prefer real executables on Windows to avoid .cmd spawn EINVAL (AionUi#2210). Refs: iOfficeAI/AionUi#3733
This was referenced Jul 25, 2026
Add a recording opener mock so open_folder_zed is proven to spawn "zed" with the workspace directory, and cover ToolNotInstalled when no CLI is available. Refs: iOfficeAI/AionUi#3733
Contributor
Author
|
Follow-up commit after self-review:
CI should re-run on the latest push. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Zed as an optional target for workspace open-with shell APIs, matching the existing VS Code path.
ToolType::Zed("zed") inaionui-api-typeszedon PATH, or macOS/Applications/Zed.app/Contents/MacOS/clized <folder>(or absolute CLI path when PATH symlink is missing)zed/zed.exeon PATH (no bare.cmdspawn)Refs: iOfficeAI/AionUi#3733
Related: iOfficeAI/AionUi#2210 (Windows open-workspace spawn lessons)
Non-goals
AionUi UI PR will follow and use
tool: "zed"against this API.Test plan
cargo test -p aionui-api-types -p aionui-shellcargo clippy -p aionui-api-types -p aionui-shell -- -D warningscargo fmton touched cratescheck-tool-installed→ true;open-folder-withopens projectThanks for maintaining AionCore!