Skip to content

Commit 579db04

Browse files
committed
Update formatter.prefs to latest Eclipse
1 parent a44fff4 commit 579db04

File tree

1 file changed

+52
-2
lines changed
  • spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter

1 file changed

+52
-2
lines changed

spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/formatter.prefs

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
12
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
23
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
4+
org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
5+
org.eclipse.jdt.core.formatter.align_with_spaces=false
6+
org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
37
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
48
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
59
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
@@ -8,19 +12,27 @@ org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
812
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
913
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
1014
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
15+
org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
1116
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
17+
org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
1218
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=16
19+
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0
1320
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
1421
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
1522
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
23+
org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
1624
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
1725
org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
1826
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
27+
org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
1928
org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
2029
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
2130
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
31+
org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0
2232
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
2333
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
34+
org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0
35+
org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
2436
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
2537
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
2638
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
@@ -52,6 +64,8 @@ org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
5264
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
5365
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
5466
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
67+
org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=false
68+
org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
5569
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
5670
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
5771
org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=false
@@ -61,8 +75,9 @@ org.eclipse.jdt.core.formatter.comment.format_html=true
6175
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
6276
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
6377
org.eclipse.jdt.core.formatter.comment.format_source_code=false
64-
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
78+
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
6579
org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
80+
org.eclipse.jdt.core.formatter.comment.indent_tag_description=false
6681
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=do not insert
6782
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
6883
org.eclipse.jdt.core.formatter.comment.line_length=90
@@ -110,11 +125,13 @@ org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
110125
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
111126
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
112127
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
128+
org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
113129
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
114130
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
115131
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
116132
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
117133
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
134+
org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
118135
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
119136
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
120137
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
@@ -145,6 +162,8 @@ org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
145162
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
146163
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
147164
org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
165+
org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
166+
org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
148167
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
149168
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
150169
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
@@ -169,13 +188,18 @@ org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
169188
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
170189
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
171190
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
191+
org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
172192
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
173193
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
194+
org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
195+
org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
174196
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
197+
org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
175198
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
176199
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
177200
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
178201
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
202+
org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
179203
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
180204
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
181205
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
@@ -223,6 +247,8 @@ org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do no
223247
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
224248
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
225249
org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
250+
org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
251+
org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
226252
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
227253
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
228254
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
@@ -259,9 +285,12 @@ org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not inser
259285
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
260286
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
261287
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
288+
org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
262289
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
263290
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
264291
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
292+
org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
293+
org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
265294
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
266295
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
267296
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
@@ -273,10 +302,24 @@ org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_decla
273302
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
274303
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
275304
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
305+
org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_never
306+
org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_never
307+
org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never
276308
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
277309
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
310+
org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_never
311+
org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_never
312+
org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never
278313
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
314+
org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never
315+
org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never
316+
org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never
317+
org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
318+
org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
319+
org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false
320+
org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
279321
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
322+
org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never
280323
org.eclipse.jdt.core.formatter.lineSplit=90
281324
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
282325
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
@@ -297,8 +340,15 @@ org.eclipse.jdt.core.formatter.tabulation.char=tab
297340
org.eclipse.jdt.core.formatter.tabulation.size=4
298341
org.eclipse.jdt.core.formatter.use_on_off_tags=true
299342
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
343+
org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
300344
org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
301345
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
346+
org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
302347
org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
348+
org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
349+
org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
303350
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
304-
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
351+
org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true
352+
org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true
353+
org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
354+
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true

0 commit comments

Comments
 (0)