Paste JSON as Code could not get clipboard contents
See original GitHub issueMoved from https://github.com/quicktype/quicktype/issues/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:
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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:5
Top Results From Across the Web
cant use with remote wsl Could not get clipboard contents #24
Go to VS Code while using WSL (run code while in wsl.exe terminal for example); CTRL+SHIFT+P and run "Paste JSON as Code" command;...
Read more >Paste JSON as Code - Visual Studio Marketplace
Copy JSON, paste as Go, TypeScript, C#, C++ and more. ... Launch VS Code Quick Open ( Ctrl+P ), paste the following command,...
Read more >How to show the "paste Json class" in visual studio 2012 ...
If you have your class file open, copy your Json data and choose Edit -> Paste Special you will see both the options:...
Read more >Navigator.clipboard - Web APIs - MDN Web Docs
The following code uses navigator.clipboard to access the system clipboard in order to read the contents of the clipboard.
Read more >Copy/Paste of JSON data, anyone know how to do it? - Learn
I am struggling to get copying of JSON data to work all the time. There is a browser restriction that you cannot do...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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!
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. 😦