Closed hawkinsji closed 1 year ago
Hi @hediet , Thank you for posting this. I tried it and it didn't quite work. It seems that I also had to add workbench editor associations, like this.
"files.associations": {
"*.svg": "drawio",
"*.png": "drawio"
},
"workbench.editorAssociations": {
"*.png": "hediet.vscode-drawio",
"*.svg": "hediet.vscode-drawio-text"
}
I discovered the workbench associations piece from trying the Open With option on files with the different extensions, .drawio.svg .svg and so on. Cheers, Jim
Interesting, it worked for me, but maybe I had that already setup. The AI cannot be trusted ;) Still it is a good starting point.
Hi, Is there a way to force VSCode (or VSCodium) to open a Drawio SVG file in the plugin if the filename doesn't have the .drawio.svg suffix please?