Put every attribute of a HTML tag on a new line.
This:
<input type="text" id="name" name="name" class="form-control">
Will become this:
<input
type="text"
id="name"
name="name"
class="form-control">
See preferences > tools > Wrap HTML Plugin for setting the formatting to you preference.
The plugin on JetBrains Plugin Repository: https://plugins.jetbrains.com/plugin/12766-wrap-html-attributes-on-new-lines/