SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Support for opening clicked paths in terminal #222

Closed jraygauthier closed 3 years ago

jraygauthier commented 3 years ago

Would it be possible for the extension to propose opening the file in the ssh fs folder when user clicks on a path in the terminal (e.g.: when error occurs, call stacks, etc)?

This would be a great time saver.

SchoofsKelvin commented 3 years ago

I'll look into this when I have more time.

Note to self: TerminalLinkProvider

SchoofsKelvin commented 3 years ago

Added in aa17321, will be live in v1.19.1 of the extension.

Currently only supports absolute paths that are reachable of your configured root. E.g. if your config specifies ~/project as Root, then absolute paths will only work if they start with /home/USER/project, /root/project, or whatever ~/project resolves to.

Future tasks: