From e0238bdc06f1b65afea7cb8ee91cdc31702df10d Mon Sep 17 00:00:00 2001 From: spookydonut Date: Mon, 11 May 2020 02:45:31 +0800 Subject: [PATCH] Enable DMI preview in VScode (#51019) Co-authored-by: ZeWaka --- .vscode/settings.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0ca4d58b4c6..67e90f1d388 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,12 @@ { "eslint.workingDirectories": [ - "./tgui" - ] + "./tgui" + ], + + "workbench.editorAssociations": [ + { + "filenamePattern": "*.dmi", + "viewType": "imagePreview.previewEditor" + } + ] }