idea-handlebars icon indicating copy to clipboard operation
idea-handlebars copied to clipboard

not fully 2 space indented on .hbs

Open basz opened this issue 7 years ago • 1 comments

may not be an issue with this plugin.

I prefer to have set my indents to 2 spaces within .hbs templates. However some parts of the {{... are stil indented with 4 spaces.

see (two line are wrong here)

As someone suggested I have installed editorconfig plugin but it still goes to 4 spaces.

So, I must be missing something (obvious probably)... I'm using PHPStorm fully patched on macOS.

thoughts?

basz avatar Jun 23 '18 11:06 basz

What is can think of as influencing this. Given it's behaviour varies depending on the tag surrounding handlebars is that a div is triggering a continuation indention.

see this

basz avatar Jun 24 '18 11:06 basz