SchoofsKelvin / vscode-sshfs

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

Copy Path without ssh:// #318

Closed NightProgramming closed 2 years ago

NightProgramming commented 2 years ago

When using the Copy Path feature of the workspace something like ssh://myuser/home is added to the clipboard. When using paths in the SSH terminal or with the "Open file" feature (ctrl + o) paths like /home are used (no ssh://).

I don't know if it's possible but maybe it would be nice if "Copy Path" would directly give the path without ssh://?

SchoofsKelvin commented 2 years ago

That context-menu item is something built-in into VS Code, the extension doesn't add it nor can it influence it. As for Ctrl+o not accepting proper URIs, that's also not something I can change. But as part of #316, I might be able to make Ctrl+p support ssh:// URIs, depending on how much I can influence VS Code regarding that.