Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Pressing return in an element puts cursor in wrong position #105

Open
DaanDD opened this issue Feb 1, 2016 · 1 comment
Open

Pressing return in an element puts cursor in wrong position #105

DaanDD opened this issue Feb 1, 2016 · 1 comment

Comments

@DaanDD
Copy link

DaanDD commented Feb 1, 2016

When I have this code:

 <div>|</div>

and then press return, the cursor ends up in a weird position:

 <div>
|</div>

I always then have to move my cursor one line up and press return again. Wouldn't it be better if the cursor inserts two newlines and indents correctly, like this:

 <div>
   |
 </div>
@revelt
Copy link

revelt commented Apr 19, 2018

This would be handy. However, it's very rare scenario. More often I'd type div and press tab key. In those cases, class is created automatically and empty line below plus correct indentation is set:

div

Not to say it's not useful (it is), just that it's a rare way of typing.

If Atom peeps are reading this, you should consider parking all fancy new features like Teletype for a good sprint or two and nail all the possible issues like this once and for all. It's the small details that matter to everybody. There are many many features still missing in Atom that are present on Sublime or even Dreamweaver (like Collapse Full Tag).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants