sveltejs/svelte-atom

Open up html tags on enter

marcusnewton opened this issue · 1 comments

I'm too much of an idiot to fix it myself.

// the symbol | denotes where the cursor is

<div>|</div>

Pressing enter should do this:

<div>
    |
</div>

Currently it does this:

<div>
|</div>
rixo commented

I don't think this is a responsibility of this plugin, that's more of an editor concern. I see the same behaviour you describe in an simple HTML file. I don't know of any editor settings in Atom that would do that, but maybe you can find a plugin that implements the feature.