Skip to end of metadata
Go to start of metadata

Sonar plugin

Sonar rule key

Sonar rule name

Sonar rule description

Sonar rule param

Sonar rule param description

Default value

Eclipse settings ID
(DefaultCodeFormatterConstants.*)

Value

checkstyle

 

 

 

 

 

 

 

 

 

com.puppycrawl.tools.
checkstyle.checks.
indentation.IndentationCheck

Indentation

Checks correct indentation of Java Code.

 

 

 

 

 

 

 

 

 

basicOffset

how many spaces to use for new indentation level

4

FORMATTER_TAB_CHAR


FORMATTER_INDENTATION_SIZE

JavaCore.SPACE

Sonar param value

 

 

 

 

braceAdjustment

how far brace should be indented when on next line

0

Eclipse only support telling if brace is indented or not, but it is not possible to define an indent size different than basicOffset

 

 

 

 

 

caseIndent

how much to indent a case label

4

Eclipse only support telling if case is indented or not, but it is not possible to define an indent size different than basicOffset
FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH

true/false

Labels
  • None