Skip to content

Auto-indent doesn't work when entering new line on the line preceeding the indented scope #41

Description

@aeris170

Current behavior:

if (condition) { // <---- press Enter here
| //<---- where your cursor will be
    some_code();
    type variable_name = some_more_code();
}

What it "should" be:

if (condition) { // <---- press Enter here
    | //<---- where your cursor will be
    some_code();
    type variable_name = some_more_code();
}

I'm opening a PR to fix this. Please review when convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions