Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was 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

Description

@DaanDD

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>

Activity

  1. revelt commented on Apr 19, 2018

    @revelt

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions