Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasted Images Do Not Appear in Specified Folder When Using VSCode Remote on Ubuntu from MacOS #135

Open
SKDDJ opened this issue Apr 21, 2024 · 1 comment

Comments

@SKDDJ
Copy link

SKDDJ commented Apr 21, 2024

Steps to Reproduce:

  • Connect to a remote Ubuntu machine from VSCode on MacOS.
  • Paste an image into a project directory from MacOS to remote Ubuntu in LaTeX file.
  • error: there is no expected image pasted in LaTeX file.
  • Check the specified folder for the image -> no expected image(empty folder) :(

Expected Behavior:

After pasting an image into a project directory, the image should be saved in the specified folder, and its path should be automatically pasted.

Current Behavior:

When an image is pasted from local MacOS while using VSCode connected to an remote Ubuntu to paste, the image does not appear in the specified saved folder on Ubuntu( though the saved folder was created correctly). Furthermore, the image is not automatically pasted as expected in Ubuntu.

Environment:
OS: MacOS (SSH to remote Ubuntu)
VSCode Version: Version: 1.87.2 (Universal)

This issue significantly disrupts workflow, especially when dealing with LaTeX files where images need to be referenced frequently. Any insights or workarounds would be greatly appreciated.

@SKDDJ
Copy link
Author

SKDDJ commented Apr 21, 2024

Extension Paste Image is not working#25902
@mushanshitiancai
I have noticed a similar problem, and a developer mentioned that "Visual Studio Code's API offers access to the local clipboard but only supports text content, not images".

Can you provide suggestions on how to connect a local laptop to a remote Linux host to write LaTeX pasting images from local to remote? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant