vscode-drawio
vscode-drawio copied to clipboard
extensions don't work in WSL
I have tried two different extensions by two different authors:
- https://marketplace.visualstudio.com/items?itemName=nopeslide.vscode-drawio-plugin-wavedrom
- https://marketplace.visualstudio.com/items?itemName=dzylikecode.vscode-drawio-plugin-markdown
Both worked in a windows native environment, but neither worked in a WSL environment (using the official WSL plugin: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl)
The current behavior is that drawio looks and acts as if there are no extensions installed.
I am experiencing the same thing in a Remote (ssh) environment. The plugins work fine on the native windows host, but don't work on remote Linux hosts.
Found a fix with security.allowedUNCHosts
- perhaps this should be somehow caught in the extensions and recommended to the user to set this or something. It was a bit deep in the stacktrace and solution was not obvious.
I added vscode-app
@darsor / @L0laapk3 - do you want to try this? Or is your issue another issue than this?
Get the same, the error i get is
There is a full stack trace in the output window
Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/home/ (... ) /domain_model.drawio.svg')
Also UNC host 'vscode-app' access is not allowed. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.)
I think this issue is unrelated to what you're seeing. We get no error message, it simply behaves like the plugins are not installed. Adding vscode-app to UNCHosts had no effect.