Webstorm - reformat HTML no longer works

I checked all kinds of things - Editor, file type associations... Could not find any solution.

Tested with - .html, .hbs files - reformat code just does not work. It kinda works for some top level elements though.

 

Before reformat:

After reformat:

 

 

 

1
3 comments

please remove 'span' from 'Keep white spaces inside' list in Settings | Editor | Code Style | HTML | Other.

Indent of text inside span is made of whitespaces; when this option is enabled, <span> tags are not touched by formatter

3
Avatar
Permanently deleted user

Thank you that was it!

1

Worked, thank you!

0

Please sign in to leave a comment.