From 5ef7fa3dcf21611605015061fbcd4aaf36259ed2 Mon Sep 17 00:00:00 2001 From: WebVPF <61043464+WebVPF@users.noreply.github.com> Date: Thu, 20 Jan 2022 18:21:17 +0200 Subject: [PATCH 1/3] Added settings for VSCode --- .vscode/settings.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..bd40c73a63 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "files.associations": { + "**/plugins/*/*/components/*/*.htm": "twig", + "**/plugins/*/*/controllers/*/*.htm": "php", + "**/plugins/*/*/models/*/*.htm": "php", + "**/plugins/*/*/reportwidgets/*/partials/*.htm": "php", + "**/plugins/*/*/widgets/*/partials/*.htm": "php", + "**/themes/*/layouts/*.htm": "wintercms", + "**/themes/*/partials/**/*.htm": "wintercms" + } +} From d3f60de5e8474641d6d189e6e36a6fc5b20991f2 Mon Sep 17 00:00:00 2001 From: WebVPF <61043464+WebVPF@users.noreply.github.com> Date: Thu, 20 Jan 2022 18:27:58 +0200 Subject: [PATCH 2/3] fix spaces --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index bd40c73a63..4a6d428a53 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,5 @@ "**/plugins/*/*/widgets/*/partials/*.htm": "php", "**/themes/*/layouts/*.htm": "wintercms", "**/themes/*/partials/**/*.htm": "wintercms" - } + } } From e41b825871208c68dab721ba42b6a174d57242c6 Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Thu, 20 Jan 2022 11:43:20 -0600 Subject: [PATCH 3/3] Update .vscode/settings.json --- .vscode/settings.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4a6d428a53..329b46b088 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,29 @@ { "files.associations": { + "**/modules/*/behaviors/*/partials/*.htm": "php", + "**/modules/*/controllers/*.htm": "php", + "**/modules/*/formwidgets/*/partials/*.htm": "php", + "**/modules/*/layouts/*.htm": "php", + "**/modules/*/models/*/*.htm": "php", + "**/modules/*/partials/*.htm": "php", + "**/modules/*/reportwidgets/*/partials/*.htm": "php", + "**/modules/*/views/mail/*.htm": "wintercms", + "**/modules/*/widgets/*/partials/*.htm": "php", + + "**/plugins/*/*/behaviors/*/partials/*.htm": "php", "**/plugins/*/*/components/*/*.htm": "twig", - "**/plugins/*/*/controllers/*/*.htm": "php", + "**/plugins/*/*/controllers/*.htm": "php", + "**/plugins/*/*/formwidgets/*/partials/*.htm": "php", + "**/plugins/*/*/layouts/*.htm": "php", "**/plugins/*/*/models/*/*.htm": "php", + "**/plugins/*/*/partials/*.htm": "php", "**/plugins/*/*/reportwidgets/*/partials/*.htm": "php", + "**/plugins/*/*/views/mail/*.htm": "wintercms", "**/plugins/*/*/widgets/*/partials/*.htm": "php", + + "**/themes/*/content/**/*.htm": "wintercms", "**/themes/*/layouts/*.htm": "wintercms", + "**/themes/*/pages/**/*.htm": "wintercms", "**/themes/*/partials/**/*.htm": "wintercms" } }