Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong indent for multiline field declaration #437

Open
sdoeringNew opened this issue Nov 20, 2024 · 0 comments
Open

Wrong indent for multiline field declaration #437

sdoeringNew opened this issue Nov 20, 2024 · 0 comments

Comments

@sdoeringNew
Copy link

sdoeringNew commented Nov 20, 2024

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

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

No branches or pull requests

1 participant