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.

0
4 comments

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.

1
Avatar
Permanently deleted user

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.

0

Ups, reproduced. Looks like a regression. Logged as https://youtrack.jetbrains.com/issue/WEB-15812


0
Avatar
Permanently deleted user

Great, thanks Elena.

0

Please sign in to leave a comment.