How can you set the code style for Handlebars templates?
Hi.
I need to change the tab size for my Handlebars templates, but there is no Handlebars option within the code style section in the preferences - how is this done?
Thanks.
Please sign in to leave a comment.
Handlebars use a code style that corresponds to the template language. So if you use handlebars for HTML then the HTML code style is used for formatting.
Yep, I've tried that, but tab size, indent, and continuation indent have all been set to 2 in the HTML code style, and tabbing in a Handlebars template still results in 4 spaces.
Ups, reproduced. Looks like a regression. Logged as https://youtrack.jetbrains.com/issue/WEB-15812
Great, thanks Elena.