Feature Request: Support clickable file paths in SSH sessions to open remote files #20123
murphy2333
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When using VS Code's integrated terminal with Remote SSH, clicking on a filename
in command output (e.g.,
ls) automatically opens that file in the editor.This is an extremely productive workflow that Windows Terminal currently cannot replicate.
Problem
Windows Terminal already supports OSC 8 hyperlinks and basic URL detection.
However, when connected to a remote host via SSH, there is no mechanism to:
ls,find,grep) as clickable targetsThe fundamental gap is that OSC 8 link clicks are handled entirely on the Windows side,
with no way to trigger an action on the remote shell side.
Proposed Solution
Introduce a configurable "terminal action protocol" that allows click events on
recognized patterns to be sent back to the running shell session as commands. For example:
lsoutput$EDITOR <filepath>) as input to the active shell sessionThis could be implemented as:
"clickable regions" with associated shell commands, not just URIs
file paths to shell input actions
can advertise its capabilities and the terminal can send actions back
Comparison
Use Case
user@remote:~$ ls
main.py config.yaml README.md
^^^^^^^^
Ctrl+Click → opens in $EDITOR on the remote host
This would make Windows Terminal significantly more competitive with VS Code's
integrated terminal for remote development workflows.
Environment
Beta Was this translation helpful? Give feedback.
All reactions