Sets DMI files to open with image preview (#15945)

Currently, DMI files try to open in the text editor, despite being basically PNG files with extra header data.
This default config option would mean it opens them as an image preview within VSC.
This commit is contained in:
Sean Williams
2021-04-25 15:12:49 +01:00
committed by GitHub
parent 96ca2f826c
commit 09143c0657
+8
View File
@@ -0,0 +1,8 @@
{
"workbench.editorAssociations": [
{
"filenamePattern": "*.dmi",
"viewType": "imagePreview.previewEditor"
}
]
}