From 347eac8ac1dd3607c6243f6bb64d2e7398180b90 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 14 Aug 2025 08:27:39 +0200 Subject: [PATCH 1/3] Update const.py Add handlebars extension 'hbs' to AUTO_FORMAT_EXTENSION --- jsprettier/const.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jsprettier/const.py b/jsprettier/const.py index 6bc90e1f..7c9eb308 100644 --- a/jsprettier/const.py +++ b/jsprettier/const.py @@ -140,6 +140,7 @@ 'graphql', 'gql', 'html', + 'hbs', 'ts', 'tsx', 'css', From e74cfb165d6df26b7e4ffe1581725da5bd831783 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 14 Aug 2025 08:33:00 +0200 Subject: [PATCH 2/3] Update JsPrettier.sublime-settings Added "hbs" to supported file types --- JsPrettier.sublime-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JsPrettier.sublime-settings b/JsPrettier.sublime-settings index 29854e7f..d227dff6 100644 --- a/JsPrettier.sublime-settings +++ b/JsPrettier.sublime-settings @@ -161,7 +161,7 @@ // Additional custom file extensions to format. // // There's built-in support already for "js", "jsx", "cjs", "mjs", "json", - // "jsonc", "json5", "html", "graphql/gql", "ts", "tsx", "cts", "mts", "css", + // "jsonc", "json5", "html", "hbs", "graphql/gql", "ts", "tsx", "cts", "mts", "css", // "scss", "less", "md", "mdx", "yml", "yaml" and "vue" and "component.html" // (angular html) files. // From 72a9cfba02fe1ce02cb79227c511cd3d3a9903fe Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 14 Aug 2025 09:45:55 +0200 Subject: [PATCH 3/3] Update README.md added .hbs to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 723de2a9..17f947ea 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,7 @@ Configure plugin settings and Prettier options via the application menu: - **custom_file_extensions** (default: []) There's built-in support already for `js`, `jsx`, `cjs`, `mjs`, `json`, - `jsonc`, `json5`, `html`, `graphql/gql`, `ts`, `tsx`, `cts`, `mts`, `css`, + `jsonc`, `json5`, `html`, `hbs`, `graphql/gql`, `ts`, `tsx`, `cts`, `mts`, `css`, `scss`, `less`, `md`, `mdx`, `yml`, `yaml`, `vue` and `component.html` (angular html) files.