Skip to content

druid java code formatting #8414

@himanshug

Description

@himanshug

currently we have an IntelliJ code formatter, an Eclipse code formatter and extras in checkstyle rules related to code formatting. all three of them are probably out of sync. Many times even after I format the code with IntelliJ, I still get formatting errors from checkstyle.

should we adopt some well known code formatting and tools , e.g. https://github.com/google/google-java-format and enforce them with checkstyle e.g. https://checkstyle.sourceforge.io/google_style.html that would be in sync and all the formatting rules are well written.

Related #1951

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