vscode-copy-github-url
vscode-copy-github-url copied to clipboard
VSCode Remote is not supported
It seems in the remote machine, although this plugin is installed, it will still try to copy url to remote xsel rather than the local machine.
Thanks for the info. No, this probably isn't supported yet, but will keep it in mind for future enhancement.
If you have an idea for how to add support for this, I'd appreciate any extra help you can provide. Thanks!
As a fallback, could it open the URL with the system's default handler or open a new blank tab with the URL in it?
Also, IDK how it works in GitLens, but it does on my machine (windows 11 with VSC remote to an ubuntu machine): https://stackoverflow.com/a/63045264
Using the vscode extension Clipboard API instead of node clipboardy might work
https://code.visualstudio.com/api/references/vscode-api#Clipboard https://github.com/differentmatt/vscode-copy-github-url/blob/b5d106bf7bd6debfb55a8fe56da3300077377615/src/extension.js#L3