Skip to content

Wrong indent for multiline field declaration #437

@sdoeringNew

Description

@sdoeringNew

Hi.

Multiline field declarations having the same type:

class TestClass {
    String field1
           field2
           field3
           field4
    int field5
        field6
}

will be, in my opinion, wrongly autofixed in its indentation to this:

class TestClass {
    String field1
    field2
    field3
    field4
    int field5
    field6
}

But maybe this is just my taste to indent it by aligning it to the former field.

Kind regards

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