Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Brackets cursor is not placed on a new line when creating a new tag and hitting enter. #6373

@deltanic

Description

@deltanic

Not really a bug but it annoy's me a lot. When opening a tag and pressing enter, the cursor gets placed before the closing tag. I'd have to press enter once again and move my cursor to get the desired result.

As example, I could be typing the following, where the | character is the cursor:

<div>|</div>

The closing div was autocompleted. This is all fine. But when I hit enter, this becomes the following:

<div>
|</div>

Which is quite annoying since I'd have to press enter again, and position my cursor nicely to get my desired result:

<div>
    |
</div>

Would be great if Brackets did this automatically when pressing enter in the first code sample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions