Repository navigation
feat(files): reveal workspace items in the host file manager - #1379
Open
Muhammed Eren Dursun (muhammederendursun) wants to merge 2 commits into
Open
Muhammed Eren Dursun (muhammederendursun) wants to merge 2 commits into
Muhammed Eren Dursun (muhammederendursun) wants to merge 2 commits into
Conversation
Muhammed Eren Dursun (muhammederendursun)
force-pushed
the
feature/reveal-in-file-manager-620
branch
from
November 14, 2026 21:17
837d2da to
7489944
Compare
This branch has not been deployed
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.
Problem
To locate a generated file in the system file manager, users currently have to copy its path and navigate there manually. A reveal action on the file or tab gives users a direct way to find it, for example before dragging it into another application.
Approach
Add a reveal action to the Files tree, file and diff tab context menus, and the Active tab group in the command palette. The tab context menu and palette share the same
tabActionsentry. The client names the action for the connected host. On macOS and Windows the system file manager selects the item. On Linux it opens the containing folder.The action sends a worktree-relative path through
workspace.reveal. The host checks that the item exists and resolves inside the worktree. Omitting the path opens the workspace root. The client enables item reveal on connected hosts that support protocol v122.Changes
>revealin the command palette to reveal the active file or diff tab. This keeps the current tab and its preview state.Shift+F10or the Context Menu key. Escape returns focus to the menu trigger.Screenshots
The macOS screenshots below show the same
README.mdcontext menu before and after the change, in the Files tree and on the file tab. They use the earlier feature build (cb4c326a) and its baseline at 1440 × 900.Files tree
The new action appears below Copy relative path with a folder icon, matching the surrounding menu items.
Files tree before this change
File tab
Reveal in Finder aligns with the text of the other tab actions.
File tab before this change
Active tab command palette
Open the command palette and type
>reveal. The Active tab result reveals the active file or diff tab. This screenshot shows the Linux host label.Related issues
Closes #620
The Files menu and Windows launcher come from #959, #1177, and #1158, which are already in
main.Testing
bun run lintandbun run typecheckpassed.bun run testpassed all 25 tasks in WSL using Git 2.56.1.bun run check:deps,bun run check:boundaries,bun run check:seams,bun run check:spec-surface,bun run check:i18n, andbun run check:compiler.tabActionsupdate, including the Active tab command and its preview behavior.bun run e2eon 837d2da in WSL with Chromium and WebKit. 904 passed, 1 skipped.Checklist
bun run lint,bun run typecheck,bun run testbun run e2e, orbun run e2e:fullwhen touching agent behavior)SPEC.md/ top-level specs updated to reflect any boundary, contract, or behavior change