tintinweb / vscode-interactive-graphviz

Interactive Graphviz Dot Preview for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.graphviz-interactive-preview
GNU General Public License v3.0
143 stars 22 forks source link

How to add a file extensions in VSCode? #152

Closed Acry closed 1 year ago

Acry commented 1 year ago

graphiz brings examples. My package brings the examples in /usr/share/graphviz/graphs, those have the extension .gv. I can't find a proper settings to extend the extension list.

image

Can anyone help me?

Cheers, Acry

bigbug commented 1 year ago

Hi Acry, our extension currently supports .dot and .gv out of the box. Other files have to be opened with VS Code and then the language can be selected at the lower right corner in VS Code. If you want to make a permanent setting, you can use VS Code's setting files.associations:

Screenshot 2023-02-04 at 17 57 55