mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
422 stars 127 forks source link

Could it work in GH Codespaces? #77

Open alkampfergit opened 3 years ago

alkampfergit commented 3 years ago

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.

sakamoto66 commented 3 years ago

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.

alkampfergit commented 3 years ago

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

image

sakamoto66 commented 3 years ago

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.

alkampfergit commented 3 years ago

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 notifications@github.com 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 .

AbdealiLoKo commented 2 years ago

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

obar1 commented 1 year ago

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

watahani commented 9 months ago

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