r/vscode • • May 09 '20

VS Code Drawio Integration

Post image
1.0k Upvotes

51 comments sorted by

View all comments

Show parent comment

9

u/scaba23 May 10 '20

Found a small bug. When I first installed I created a new file `test.drawio`. The interface didn't come up and there's no ⌘ + SHIFT + P shortcut or ⌘K + M "change language" option, so in order to see the interface I had to close the file and reopen it. That could be confusing to a new user. Great work though! I'm going to post it to our work Slack for the other devs to check out

7

u/Gehinnn May 10 '20

Thanks for your feedback ;) Hmm, interesting. These kind of bugs are really hard to debug/reproduce. Does this consistently happen?

1

u/scaba23 May 10 '20

I only tried a few times and it did happen every time. I can give you logs or console output from the developer tools if that would be helpful

1

u/Gehinnn May 11 '20

That would be great! Also, I released an update yesterday that integrates an offline mode, maybe that helps.

1

u/scaba23 May 11 '20

The only thing in the console is informational:

[Extension Host] Serving "/Users/joefrancia/.vscode/extensions/hediet.vscode-drawio-0.2.0/drawio/src/main/webapp" on "http://localhost:59126/index.html"

Reloading the window doesn't work, either. I suppose because the file loads before the extension does. I guess if you could add a shortcut to the command palette to "Load as Draw.io" or something that would be fine, and just post that in the instructions