Does not work like expected when in an image file
jenstornell opened this issue · 3 comments
jenstornell commented
- In VSCode, click on an image to preview it.
- When in the image preview click "Copy name to clipboard" on the image filename.
- Go to a file where you want your filename to be pasted.
- Try to paste it.
The filename is NOT in the clipboard. Instead it will paste the old clipboard data.
It however does work when has the code or text file open instead and not an image.
SimonIMG commented
Confirming that I'm having this same issue. If image is being previewed, the filename doesn't copy. It does when I have a code file displayed in the VS Code viewer.
Jack89ita commented
Hello guys!
Thanks for the feedback and sorry for taking so long to solve this.
Try to update and if you still have the problem open a new issue.
SimonIMG commented
Nice work! Confirming that I have v2.0.0 installed and I can copy a filename while the image is being previewed in VS Code.
- Tested with PNG, JPG and SVG (SVG being previewed or when the code is displayed).
- Also tested copying from on VS Code project window into another.
- Also tested when copying into a completely different application or browser.