From 6f746e7dc9253bde194b8fc685fc5a889865de34 Mon Sep 17 00:00:00 2001 From: Hazel Date: Thu, 11 Apr 2024 17:18:51 +0200 Subject: [PATCH 1/2] tell vscode that templates/* is handlebars --- .vscode/settings.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d57bad4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "files.associations": { + "**/templates/**/*.html": "handlebars", + "**/templates/**/*.xml": "handlebars" + } +} From f349a25f0a5b2cf1b893581a0f6ffce6365622a2 Mon Sep 17 00:00:00 2001 From: Hazel Date: Thu, 11 Apr 2024 17:20:31 +0200 Subject: [PATCH 2/2] configure tab size for html/xml/hbs --- .vscode/settings.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index d57bad4..0537f4e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,14 @@ "files.associations": { "**/templates/**/*.html": "handlebars", "**/templates/**/*.xml": "handlebars" + }, + "[handlebars]": { + "editor.tabSize": 2 + }, + "[html]": { + "editor.tabSize": 2 + }, + "[xml]": { + "editor.tabSize": 2 } }