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

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
Avatar
Permanently deleted user

Great, thanks Elena.

0

请先登录再写评论。