From 09143c0657cf5b708d57cbf4cebaddb3b202c022 Mon Sep 17 00:00:00 2001 From: Sean Williams <12197162+S34NW@users.noreply.github.com> Date: Sun, 25 Apr 2021 15:12:49 +0100 Subject: [PATCH] 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. --- .vscode/settings.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..5547f1b61f6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "workbench.editorAssociations": [ + { + "filenamePattern": "*.dmi", + "viewType": "imagePreview.previewEditor" + } + ] +}