hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Import files from the file explorer #428

Open MrJGao opened 1 month ago

MrJGao commented 1 month ago

This may not be an issue but I was unable to find help resources.

When using the extension, is there a way to directly drag&drop the image file (e.g., *.png) to the drawio page? Whenever I do it, VSCode would open the image file in a separate preview editor, not in the drawio panel. So, I had to open the file from the local folder, and use the "import" file menu, and select a local file to import. This becomes inconvenient when using remote development b/c the image file is on the server, not locally.

Thanks.