surdu/selector-to-tag

Expand block tags to multiple lines

dsandstrom opened this issue · 3 comments

div.test expands to
<div class="test"></div>
I'd prefer

<div class="test">
  |
</div>

It'll save me time by removing extra key presses (enter, shift-enter).

surdu commented

Makes sense. I'll add an option for whoever wants to keep the current behavior (like myself 😄 )

After using this, I don't like having h1-h6 expand to multiple lines. My headings are usually only one line long and probably the same for most people. I'll send you a PR to remove them from the default.

surdu commented

I removed them myself as I was fixing the other bug you've filled. Hope it's the same to you.