Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Paste JSON as Code could not get clipboard contents #29

Open
doggy8088 opened this issue Jul 31, 2020 · 5 comments
Open

Paste JSON as Code could not get clipboard contents #29

doggy8088 opened this issue Jul 31, 2020 · 5 comments

Comments

@doggy8088
Copy link

Moved from glideapps/quicktype#1532

When I open VSCode from my WSL using Remote - WSL, I can't use Paste JSON as Code command. It shows Code could not get clipboard contents like below:

image

This is unlikely to be a remote issue. It can refer the extension author to this extension guide: https://code.visualstudio.com/api/advanced-topics/remote-extensions

It looks like is not using the VS Code clipboard API. If they have further issues, they can raise it here for discussion.

@halink0803
Copy link

I also got this problem. It will be great if you guys could support remote develop with this. It seems the problem is when I copy something, it will go to the local machine clipboard instead of remote machine clipboard.

@apoorvHearth
Copy link

apoorvHearth commented Nov 4, 2020

Even if the content is getting copied to the local machine clipboard, I believe that WSL remote machine and the local windows machine share the clipboard as I am able to copy/paste freely from and to the WSL console.

and yeah, I am also facing the same issue.

@paul-vd
Copy link

paul-vd commented May 27, 2021

The same issue on wsl.

@doggy8088
Copy link
Author

doggy8088 commented May 27, 2021

I think this issue has been fixed by this PR from the master branch, but the VSCode extension never released after 9/20/2018. Don't know why?! It could be losting account credential to update it. :(

@doggy8088
Copy link
Author

I decided to take over this project. I already had a fork and published Paste JSON as Code (Refresh) ​extension to the VSCode Marketplace.

@quicktype If this is inappropriate, please let me know. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants