Skip to content

Align IntelliJ IDEA Code Style with checkstyle_check.xml Rules #16427

@Anmol202005

Description

@Anmol202005

Align IntelliJ IDEA Code Style with checkstyle_check.xml Rules

Description

To maintain consistency between IntelliJ IDEA’s auto-formatting and our Checkstyle rules (checkstyle_check.xml).

This issue will help ensure that developers using IntelliJ can rely on Reformat Code (Ctrl + Alt + L)


✅ Auto-Fixable by IntelliJ IDEA

The following Checkstyle rules are automatically handled by IntelliJ's built-in formatting tools:

  • EmptyLineSeparator
  • FileTabCharacter
  • ImportOrder
  • Indentation
  • LeftCurly
  • LineLength
  • MethodParamPad
  • NeedBraces
  • NoWhitespaceAfter
  • NoWhitespaceBefore
  • OperatorWrap
  • ParenPad
  • RedundantImport
  • RightCurly
  • SeparatorWrap
  • SingleSpaceSeparator
  • WhitespaceAfter
  • WhitespaceAround

Incomplete and abandoned PR is at #16349 feel free to continue it BUT be aware that we migrated to qudana for inspection.
We are not using this docker container any more:

docker:
      - image: checkstyle/idea-docker:jdk11-idea2023.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions