vscode-paste-image icon indicating copy to clipboard operation
vscode-paste-image copied to clipboard

Could it work in GH Codespaces?

Open alkampfergit opened this issue 5 years ago • 7 comments

Hi,

using your plugin in a GH Codespaces, when I try to paste an image I got this error

image

It would be nice if the adding can work inside codespaces.

Thanks.

alkampfergit avatar Sep 06 '20 13:09 alkampfergit

Probably because Paste Image(mushan.vscode-paste-image) does not support Remote Development. Can you try Paste Image from local pc(sakamoto66.vscode-paste-image). note: Paste Image from local pc support Remote Development.

sakamoto66 avatar Sep 08 '20 14:09 sakamoto66

Already tried, it is not allowed as extension in GH codespaces.

image

alkampfergit avatar Sep 09 '20 11:09 alkampfergit

ohh, GH Codespaces is supported only Remote install mode. Therefore, it turns out that extensions that only support local installation cannot be installed.

I have not GH Codespaces. If geted GH Codespaces, I try find out how to get the image from the clipboard.

sakamoto66 avatar Sep 14 '20 21:09 sakamoto66

Thanks,

I suspect that GH Codespaces put in places some limitation for security reason or whathever. Actually I can work perfectly dragging and dropping images directly in Codespaces, but having Paste image addin working would be great because it is really simple and useful.

-- Gian Maria Ricci Cell: +39 320 0136949

http://mvp.microsoft.com/en-us/mvp/Gian%20Maria%20Ricci-4025635 http://www.linkedin.com/in/gianmariaricci https://twitter.com/alkampfer http://feeds.feedburner.com/AlkampferEng

On Mon, Sep 14, 2020 at 11:04 PM sakamoto66 [email protected] wrote:

ohh, GH Codespaces is supported only Remote install mode. Therefore, it turns out that extensions that only support local installation cannot be installed.

I have not GH Codespaces. If geted GH Codespaces, I try find out how to get the image from the clipboard.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mushanshitiancai/vscode-paste-image/issues/77#issuecomment-692313259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACXREOXJUU277I376BYXADSF2AMXANCNFSM4Q4MNKXQ .

alkampfergit avatar Sep 15 '20 07:09 alkampfergit

I'm trying the code-server: https://github.com/cdr/code-server And it would be great if this plugin could support code-serer too

AbdealiLoKo avatar Oct 20 '21 07:10 AbdealiLoKo

more info here https://github.com/orgs/community/discussions/25902 how to implement it I guess

obar1 avatar Feb 28 '23 11:02 obar1

Visual Studio Code's API does provide access to the local clipboard; however, it only supports text content, not images. As a workaround, I implemented simple extension for personal use.

https://marketplace.visualstudio.com/items?itemName=watahani.markdown-image-paste-for-remote

watahani avatar Oct 25 '23 11:10 watahani