You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possibility to get/set the local clipboard from remote terminal? #5905
I'm not sure this is possible or worth the effort, but it's worth asking.
On linux one can pipe the output of terminal command into the system (X) clipboard:
command | xsel -ib
The same is possible on mac:
command | pbcopy
And I'm sure this can be done on windows too.
It's incredibly practical and I use it all the time but currently it isn't possible in a remote session as it would set the remote server's clipboard, not the local one.
Is there any chance that this could be added to the remote extension?
If not, is it possible to implement it as a plugin or separate extension? I think the remote extension is closed source, so not sure how I could go about it?
Reacted by ntiltmann, nstetter, André Oliveira, Luca Dorigo, Jason Kalawe, Miles Richardson, rbadapanda and Mark Sta Ana
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Could you elaborate? If it's in the core, then it might be easier to implement the functionality as a separate extension (as the core is open source). But isn't this specifically something the remote extension would need to handle? I guess in a similar way you handle code <file> in a remote terminal - not sure how exactly you implemented that but I assume you're automatically adding .vscode_server/bin to the path when a remote terminal is started?
The remote extension mainly handles connecting and maintaining the connection. The actual terminal and such is maintained by the main repo. You can install extensions in the remote if you'd like to make an extension. I'm not sure if the terminal in core has awareness of being in a remote environment or not (my assumption is that it doesn't) so there would some structural changes needed to enable this.
This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 10 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Just in case anyone else comes across this ticket, someone made a plugin that uses a 3rd party tool called piknik. There's a bit of setup, but it works great and has a vscode extension
Activity
tanhakabir commentedon Nov 17, 2021
Hey! Thank you for the request! This isn't a super trivial feature but the work would need to be done in VS Code core not the remote extension
vscode-triage-bot commentedon Nov 17, 2021
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
ldorigo commentedon Nov 19, 2021
Could you elaborate? If it's in the core, then it might be easier to implement the functionality as a separate extension (as the core is open source). But isn't this specifically something the remote extension would need to handle? I guess in a similar way you handle
code <file>in a remote terminal - not sure how exactly you implemented that but I assume you're automatically adding .vscode_server/bin to the path when a remote terminal is started?tanhakabir commentedon Nov 19, 2021
The remote extension mainly handles connecting and maintaining the connection. The actual terminal and such is maintained by the main repo. You can install extensions in the remote if you'd like to make an extension. I'm not sure if the terminal in core has awareness of being in a remote environment or not (my assumption is that it doesn't) so there would some structural changes needed to enable this.
vscode-triage-bot commentedon Jan 7, 2022
This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding
vscode-triage-bot commentedon Jan 18, 2022
🙁 In the last 60 days, this feature request has received less than 10 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
booyaa commentedon Mar 1, 2022
Just in case anyone else comes across this ticket, someone made a plugin that uses a 3rd party tool called piknik. There's a bit of setup, but it works great and has a vscode extension