Skip to content

feat: open local files via Quick Open in remote SSH sessions#208

Merged
j4rviscmd merged 1 commit into
mainfrom
feat/remote-local-quickopen
Jun 15, 2026
Merged

feat: open local files via Quick Open in remote SSH sessions#208
j4rviscmd merged 1 commit into
mainfrom
feat/remote-local-quickopen

Conversation

@j4rviscmd

Copy link
Copy Markdown
Owner

Summary

Adds the ability to open local files via Quick Open (Ctrl/Cmd+P) while connected to a remote (SSH) workspace.

Background

In a remote SSH session, Quick Open resolves absolute paths against the remote filesystem (vscode-remote://), so typing a local path like /Users/... either failed or opened the remote-side file. This made it impossible to open local files without disconnecting.

Changes

  • New setting coderm.quickOpen.localFiles (default: true)
  • anythingQuickAccess.ts: new method getLocalAbsolutePathFileResults resolves the typed absolute path as a local file:// URI and stats it via the always-registered DiskFileSystemProvider (registered in the renderer even in remote sessions)
  • getFilePicks now resolves both remote and local absolute-path candidates in parallel (Promise.all) with dedup — both show up as Quick Open candidates
  • No-op in local (non-remote) sessions to avoid duplicate candidates
  • README updated (EN + JA)

Notes

  • Uses the local OS path lib (OS/posix/win32), not the remote one, to decide whether the query is an absolute path on the client machine
  • quickOpenLocalFiles.ts follows the existing quickOpenIncludeTerminals.ts pattern (configuration-only registration) to keep the fork diff localized

🤖 Generated with Claude Code

Add coderm.quickOpen.localFiles setting (default: true). When connected via SSH, typing an absolute path (e.g. /Users/...) in Quick Open now shows both the local (file://) and remote (vscode-remote://) candidates, so local files can be opened without leaving the remote workspace.

Co-Authored-By: Claude <noreply@anthropic.com>
@j4rviscmd j4rviscmd added the enhancement New feature or request label Jun 15, 2026
@j4rviscmd j4rviscmd merged commit d0cf3f0 into main Jun 15, 2026
3 checks passed
@j4rviscmd j4rviscmd deleted the feat/remote-local-quickopen branch June 15, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant