Skip to content

Commit 7b06273

Browse files
snjezafbricon
authored andcommitted
Set o.e.j.c.formatter.indent_switchstatements_compare_to_switch=true by default
Signed-off-by: Snjezana Peco <[email protected]>
1 parent 2be3381 commit 7b06273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

formatters/eclipse-formatter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
9595
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
9696
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
97-
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="false"/>
97+
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
9898
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
9999
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant" value="insert"/>
100100
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
@@ -304,7 +304,7 @@
304304
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
305305
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>
306306
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
307-
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
307+
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
308308
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
309309
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator" value="false"/>
310310
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>

0 commit comments

Comments
 (0)