Comments (13)
This has been resolved.
https://marketplace.visualstudio.com/items?itemName=sakamoto66.vscode-paste-image
use image of clipboard from local pc.
So there is no need to use "shared clipboard".
when local pc is windows, xclip is unnecessary.
from vscode-paste-image.
hi, @DigitalMarc .
"There is not a image in clipboard."
This is error message of extension Paste Image
(mushan.vscode-paste-image).
You installed extension Paste Image
(mushan.vscode-paste-image).
It's not supported Remote Development.
Extension Paste Image from local pc
(sakamoto66.vscode-paste-image) is supported Remote Development.
Please run step1-2.
step1, uninstall extension Paste Image
(mushan.vscode-paste-image).
step2, install extension Paste Image from local pc
(sakamoto66.vscode-paste-image).
from vscode-paste-image.
This repository has not seen any activity in over 3 years. There is an actively maintained fork here: https://github.com/telesoho/vscode-markdown-paste-image
I added WSL support to it yesterday, do take a look.
from vscode-paste-image.
Would you like to try my extension, here is the market:https://marketplace.visualstudio.com/items?itemName=dzylikecode.md-paste-enhanced
from vscode-paste-image.
This has been resolved.
https://marketplace.visualstudio.com/items?itemName=sakamoto66.vscode-paste-image
use image of clipboard from local pc. So there is no need to use "shared clipboard".
when local pc is windows, xclip is unnecessary.
Does the plugin "clipboard from local pc" support mac? I failed to do that with the error "Error: faild save image of clipboard". Although it do success on windows.
from vscode-paste-image.
The same for Remote-SSH. It seems remote clipboard is used, not local.
I found mention of this problem at https://code.visualstudio.com/docs/remote/troubleshooting#_clipboard-does-not-work .
Not sure if fix they offer can work with images. It seems, API methods work only with text content.
from vscode-paste-image.
It seems, API methods work only with text content.
Hi @heyzling - where did you see that? I didn't see it under Clipboard does not work.
from vscode-paste-image.
It seems, API methods work only with text content.
Nvm, found it Clipboard API 😀
from vscode-paste-image.
It could be workaround.
- Make sure you have
xclip
installed as plugin suggests (sudo apt install xclip
). - Run and configure X server like X410 or so and make sure your apps can connect to it (
xclock
, for example, can show a clock window). - Make sure your X server has "shared clipboard" feature.
I am using Ubuntu/WSL2 + X410 in Windows 10. Paste Image fails with same error while I stop X410.
WSL2 runs locally but it has different IP address unlike WSL1 that sharing localhost, so WSL2
basically similar to remote WSL.
from vscode-paste-image.
Hey,
I'm using the latest version (just installed it) and I'm getting "There is not a image in clipboard."
I'm copying from a Win 10 (Snipping tool.exe) to a virtualbox VM (Ubuntu 20). Regular copy paste is ok between the two.
from vscode-paste-image.
@sakamoto66 thanks for the feedback,
This time I'm getting Error: image of clipboard is empty
It might be related to this: https://forums.virtualbox.org/viewtopic.php?f=6&t=93937
from vscode-paste-image.
hi, @DigitalMarc
Please let me check.
Is the environment being tested a plan A?
-
plan A
[vscode on windows10] ---(SSH)--->[Ubuntu 20 on virtualbox VM] -
plan B
[windows10] ---(virtualbox console)--->[vscode on Ubuntu 20 on virtualbox VM]
from vscode-paste-image.
Would you like to try my extension, here is the market:https://marketplace.visualstudio.com/items?itemName=dzylikecode.md-paste-enhanced
I installed your extension and found it to be very useful. I have a suggestion for improvement: have you considered adding a feature that supports automatically naming pasted images? This feature could automatically name the image based on selected text, and would be similar to the feature available in "paste image". The default naming format could therefore be improved, but it is sufficient for simple documents by now.
I also used the "paste from local pc" exension, but it appears to be outdated. Its handling of variables like ${currentFileDir} is confusing, and it cannot paste files correctly.
from vscode-paste-image.
Related Issues (20)
- Quick custom name image paste HOT 1
- I don't get how to use this...
- Export ipynb with the pictures
- customize ${imageSyntaxPrefix}
- How to get the default name to be YYYY-MM-DD_HH-mm-ss_<selected text>
- New line character support for pasteImage.insertPattern
- Could not find any matching file with following pattern: puppet/shared.pp
- encoding image file name HOT 6
- Unable to change the default name (using a format)
- Adjusting image size?
- Use on VSCode for the Web
- Windows paste image is not working on vscode insider, cannot generate image file, but work correctly on normal vscode
- Suggestion: When pasting non-image content, fall back to normal paste command
- Add 'Paste Image' to Context Menu to pick up the base path more easily HOT 1
- [Suggestion]: Add file summary md5 to the file name
- Settings do not apply. HOT 4
- There is not a image in clipboard & can't capture screenshots in markdown
- alt text feature
- If the image has spaces on it, the preview does not works
- Suggestion - file name encoding use dash instead of URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-paste-image.