forked from RobertSkalko/Old-Mine-and-Slash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.codestyle.json
546 lines (546 loc) · 20.3 KB
/
Default.codestyle.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
{
"schemeName": "Default",
"version": "1.0",
"codeStyle": {
"all": {
"formatter_off_tag": "@formatter:off",
"formatter_on_tag": "@formatter:on",
"formatter_tags_accept_regexp": false,
"formatter_tags_enabled": false,
"max_line_length": 300,
"wrap_on_typing": false
},
"java": {
"align_consecutive_assignments": false,
"align_consecutive_variable_declarations": false,
"align_group_field_declarations": false,
"align_multiline_annotation_parameters": false,
"align_multiline_array_initializer_expression": false,
"align_multiline_assignment": false,
"align_multiline_binary_operation": false,
"align_multiline_chained_methods": false,
"align_multiline_extends_list": false,
"align_multiline_for": true,
"align_multiline_method_brackets": false,
"align_multiline_parameters": true,
"align_multiline_parameters_in_calls": true,
"align_multiline_parenthesized_expression": false,
"align_multiline_resources": true,
"align_multiline_ternary_operation": false,
"align_multiline_throws_list": false,
"align_subsequent_simple_methods": false,
"align_throws_keyword": false,
"annotation_parameter_wrap": "off",
"array_initializer_new_line_after_left_brace": false,
"array_initializer_right_brace_on_new_line": false,
"array_initializer_wrap": "on_every_item",
"assert_statement_colon_on_next_line": false,
"assert_statement_wrap": "off",
"assignment_wrap": "off",
"binary_operation_sign_on_next_line": false,
"binary_operation_wrap": "off",
"blank_lines_after_anonymous_class_header": 0,
"blank_lines_after_class_header": 0,
"blank_lines_after_imports": 1,
"blank_lines_after_package": 1,
"blank_lines_around_class": 1,
"blank_lines_around_field": 0,
"blank_lines_around_field_in_interface": 0,
"blank_lines_around_initializer": 1,
"blank_lines_around_method": 1,
"blank_lines_around_method_in_interface": 1,
"blank_lines_before_class_end": 0,
"blank_lines_before_imports": 1,
"blank_lines_before_method_body": 0,
"blank_lines_before_package": 0,
"block_comment_at_first_column": true,
"brace_style": "end_of_line",
"call_parameters_new_line_after_left_paren": true,
"call_parameters_right_paren_on_new_line": true,
"call_parameters_wrap": "normal",
"case_statement_on_new_line": true,
"catch_on_new_line": false,
"class_annotation_wrap": "split_into_lines",
"class_brace_style": "end_of_line",
"class_count_to_use_import_on_demand": 5,
"class_names_in_javadoc": 1,
"continuation_indent_size": 4,
"do_not_indent_top_level_class_members": false,
"do_not_wrap_after_single_annotation": false,
"do_while_brace_force": "never",
"doc_add_blank_line_after_description": true,
"doc_add_blank_line_after_param_comments": false,
"doc_add_blank_line_after_return": false,
"doc_add_p_tag_on_empty_lines": true,
"doc_align_exception_comments": true,
"doc_align_param_comments": true,
"doc_do_not_wrap_if_one_line": false,
"doc_enable_formatting": true,
"doc_enable_leading_asterisks": true,
"doc_indent_on_continuation": false,
"doc_keep_empty_lines": true,
"doc_keep_empty_parameter_tag": true,
"doc_keep_empty_return_tag": true,
"doc_keep_empty_throws_tag": true,
"doc_keep_invalid_tags": true,
"doc_param_description_on_new_line": false,
"doc_preserve_line_breaks": false,
"doc_use_throws_not_exception_tag": true,
"else_on_new_line": false,
"enum_constants_wrap": "split_into_lines",
"extends_keyword_wrap": "off",
"extends_list_wrap": "off",
"field_annotation_wrap": "split_into_lines",
"finally_on_new_line": false,
"for_brace_force": "never",
"for_statement_new_line_after_left_paren": false,
"for_statement_right_paren_on_new_line": false,
"for_statement_wrap": "off",
"generate_final_locals": false,
"generate_final_parameters": false,
"if_brace_force": "never",
"imports_layout": [
"*",
"blank_line",
"javax.**",
"java.**",
"blank_line",
"static *"
],
"indent_case_from_switch": true,
"indent_size": 4,
"indent_style": "space",
"insert_inner_class_imports": false,
"insert_override_annotation": true,
"keep_blank_lines_before_right_brace": 1,
"keep_blank_lines_between_package_declaration_and_header": 2,
"keep_blank_lines_in_code": 1,
"keep_blank_lines_in_declarations": 1,
"keep_control_statement_in_one_line": false,
"keep_first_column_comment": false,
"keep_indents_on_empty_lines": false,
"keep_line_breaks": false,
"keep_multiple_expressions_in_one_line": false,
"keep_simple_blocks_in_one_line": false,
"keep_simple_classes_in_one_line": false,
"keep_simple_lambdas_in_one_line": false,
"keep_simple_methods_in_one_line": false,
"lambda_brace_style": "end_of_line",
"layout_static_imports_separately": true,
"line_comment_add_space": false,
"line_comment_at_first_column": true,
"max_line_length": 120,
"method_annotation_wrap": "split_into_lines",
"method_brace_style": "end_of_line",
"method_call_chain_wrap": "on_every_item",
"method_parameters_new_line_after_left_paren": false,
"method_parameters_right_paren_on_new_line": false,
"method_parameters_wrap": "normal",
"modifier_list_wrap": false,
"names_count_to_use_import_on_demand": 3,
"packages_to_use_import_on_demand": [
"java.awt.*",
"javax.swing.*"
],
"parameter_annotation_wrap": "off",
"parentheses_expression_new_line_after_left_paren": false,
"parentheses_expression_right_paren_on_new_line": false,
"place_assignment_sign_on_next_line": false,
"prefer_longer_names": true,
"prefer_parameters_wrap": false,
"repeat_annotations": [],
"repeat_synchronized": true,
"replace_instanceof_and_cast": false,
"replace_null_check": true,
"replace_sum_lambda_with_method_ref": true,
"resource_list_new_line_after_left_paren": false,
"resource_list_right_paren_on_new_line": false,
"resource_list_wrap": "off",
"smart_tabs": false,
"space_after_closing_angle_bracket_in_type_argument": false,
"space_after_colon": true,
"space_after_comma": true,
"space_after_comma_in_type_arguments": true,
"space_after_for_semicolon": true,
"space_after_quest": true,
"space_after_type_cast": true,
"space_before_annotation_array_initializer_left_brace": false,
"space_before_annotation_parameter_list": false,
"space_before_array_initializer_left_brace": false,
"space_before_catch_keyword": true,
"space_before_catch_left_brace": true,
"space_before_catch_parentheses": true,
"space_before_class_left_brace": true,
"space_before_colon": true,
"space_before_colon_in_foreach": true,
"space_before_comma": false,
"space_before_do_left_brace": true,
"space_before_else_keyword": true,
"space_before_else_left_brace": true,
"space_before_finally_keyword": true,
"space_before_finally_left_brace": true,
"space_before_for_left_brace": true,
"space_before_for_parentheses": true,
"space_before_for_semicolon": false,
"space_before_if_left_brace": true,
"space_before_if_parentheses": true,
"space_before_method_call_parentheses": false,
"space_before_method_left_brace": true,
"space_before_method_parentheses": false,
"space_before_opening_angle_bracket_in_type_parameter": false,
"space_before_quest": true,
"space_before_switch_left_brace": true,
"space_before_switch_parentheses": true,
"space_before_synchronized_left_brace": true,
"space_before_synchronized_parentheses": true,
"space_before_try_left_brace": true,
"space_before_try_parentheses": true,
"space_before_type_parameter_list": false,
"space_before_while_keyword": true,
"space_before_while_left_brace": true,
"space_before_while_parentheses": true,
"space_inside_one_line_enum_braces": false,
"space_within_empty_array_initializer_braces": false,
"space_within_empty_method_call_parentheses": false,
"space_within_empty_method_parentheses": false,
"spaces_around_additive_operators": true,
"spaces_around_assignment_operators": true,
"spaces_around_bitwise_operators": true,
"spaces_around_equality_operators": true,
"spaces_around_lambda_arrow": true,
"spaces_around_logical_operators": true,
"spaces_around_method_ref_dbl_colon": false,
"spaces_around_multiplicative_operators": true,
"spaces_around_relational_operators": true,
"spaces_around_shift_operators": true,
"spaces_around_type_bounds_in_type_parameters": true,
"spaces_around_unary_operator": false,
"spaces_within_angle_brackets": false,
"spaces_within_annotation_parentheses": false,
"spaces_within_array_initializer_braces": false,
"spaces_within_braces": false,
"spaces_within_brackets": false,
"spaces_within_cast_parentheses": false,
"spaces_within_catch_parentheses": false,
"spaces_within_for_parentheses": false,
"spaces_within_if_parentheses": false,
"spaces_within_method_call_parentheses": false,
"spaces_within_method_parentheses": false,
"spaces_within_parentheses": false,
"spaces_within_switch_parentheses": false,
"spaces_within_synchronized_parentheses": false,
"spaces_within_try_parentheses": false,
"spaces_within_while_parentheses": false,
"special_else_if_treatment": true,
"subclass_name_suffix": "Impl",
"tab_width": 4,
"ternary_operation_signs_on_next_line": false,
"ternary_operation_wrap": "off",
"test_name_suffix": "Test",
"throws_keyword_wrap": "off",
"throws_list_wrap": "off",
"use_external_annotations": false,
"use_fq_class_names": false,
"use_single_class_imports": true,
"variable_annotation_wrap": "off",
"visibility": "public",
"while_brace_force": "never",
"while_on_new_line": false,
"wrap_comments": false,
"wrap_first_method_in_call_chain": false,
"wrap_long_lines": true,
"wrap_on_typing": false
},
"editorconfig": {
"align_group_field_declarations": false,
"space_after_colon": false,
"space_after_comma": true,
"space_before_colon": false,
"space_before_comma": false,
"spaces_around_assignment_operators": true
},
"groovy": {
"align_group_field_declarations": false,
"align_multiline_array_initializer_expression": false,
"align_multiline_assignment": false,
"align_multiline_binary_operation": false,
"align_multiline_chained_methods": false,
"align_multiline_extends_list": false,
"align_multiline_for": true,
"align_multiline_method_brackets": false,
"align_multiline_parameters": true,
"align_multiline_parameters_in_calls": false,
"align_multiline_resources": true,
"align_multiline_ternary_operation": false,
"align_multiline_throws_list": false,
"align_throws_keyword": false,
"array_initializer_new_line_after_left_brace": false,
"array_initializer_right_brace_on_new_line": false,
"array_initializer_wrap": "off",
"assert_statement_wrap": "off",
"assignment_wrap": "off",
"binary_operation_wrap": "off",
"blank_lines_after_class_header": 0,
"blank_lines_after_imports": 1,
"blank_lines_after_package": 1,
"blank_lines_around_class": 1,
"blank_lines_around_field": 0,
"blank_lines_around_field_in_interface": 0,
"blank_lines_around_method": 1,
"blank_lines_around_method_in_interface": 1,
"blank_lines_before_imports": 1,
"blank_lines_before_method_body": 0,
"blank_lines_before_package": 0,
"block_comment_at_first_column": true,
"brace_style": "end_of_line",
"call_parameters_new_line_after_left_paren": false,
"call_parameters_right_paren_on_new_line": false,
"call_parameters_wrap": "off",
"catch_on_new_line": false,
"class_annotation_wrap": "split_into_lines",
"class_brace_style": "end_of_line",
"continuation_indent_size": 8,
"do_while_brace_force": "never",
"else_on_new_line": false,
"enum_constants_wrap": "off",
"extends_keyword_wrap": "off",
"extends_list_wrap": "off",
"field_annotation_wrap": "split_into_lines",
"finally_on_new_line": false,
"for_brace_force": "never",
"for_statement_new_line_after_left_paren": false,
"for_statement_right_paren_on_new_line": false,
"for_statement_wrap": "off",
"if_brace_force": "never",
"indent_case_from_switch": true,
"indent_size": 4,
"indent_style": "space",
"keep_blank_lines_before_right_brace": 2,
"keep_blank_lines_in_code": 2,
"keep_blank_lines_in_declarations": 2,
"keep_control_statement_in_one_line": true,
"keep_first_column_comment": true,
"keep_indents_on_empty_lines": false,
"keep_line_breaks": true,
"keep_multiple_expressions_in_one_line": false,
"keep_simple_blocks_in_one_line": false,
"keep_simple_classes_in_one_line": true,
"keep_simple_lambdas_in_one_line": true,
"keep_simple_methods_in_one_line": true,
"lambda_brace_style": "end_of_line",
"line_comment_add_space": false,
"line_comment_at_first_column": true,
"method_annotation_wrap": "split_into_lines",
"method_brace_style": "end_of_line",
"method_call_chain_wrap": "off",
"method_parameters_new_line_after_left_paren": false,
"method_parameters_right_paren_on_new_line": false,
"method_parameters_wrap": "off",
"modifier_list_wrap": false,
"parameter_annotation_wrap": "off",
"parentheses_expression_new_line_after_left_paren": false,
"parentheses_expression_right_paren_on_new_line": false,
"prefer_parameters_wrap": false,
"resource_list_new_line_after_left_paren": false,
"resource_list_right_paren_on_new_line": false,
"resource_list_wrap": "off",
"smart_tabs": false,
"space_after_colon": true,
"space_after_comma": true,
"space_after_comma_in_type_arguments": true,
"space_after_for_semicolon": true,
"space_after_quest": true,
"space_after_type_cast": true,
"space_before_annotation_parameter_list": false,
"space_before_array_initializer_left_brace": false,
"space_before_catch_keyword": true,
"space_before_catch_left_brace": true,
"space_before_catch_parentheses": true,
"space_before_class_left_brace": true,
"space_before_colon": true,
"space_before_comma": false,
"space_before_do_left_brace": true,
"space_before_else_keyword": true,
"space_before_else_left_brace": true,
"space_before_finally_keyword": true,
"space_before_finally_left_brace": true,
"space_before_for_left_brace": true,
"space_before_for_parentheses": true,
"space_before_for_semicolon": false,
"space_before_if_left_brace": true,
"space_before_if_parentheses": true,
"space_before_method_call_parentheses": false,
"space_before_method_left_brace": true,
"space_before_method_parentheses": false,
"space_before_quest": true,
"space_before_switch_left_brace": true,
"space_before_switch_parentheses": true,
"space_before_synchronized_left_brace": true,
"space_before_synchronized_parentheses": true,
"space_before_try_left_brace": true,
"space_before_try_parentheses": true,
"space_before_while_keyword": true,
"space_before_while_left_brace": true,
"space_before_while_parentheses": true,
"space_within_empty_array_initializer_braces": false,
"space_within_empty_method_call_parentheses": false,
"spaces_around_additive_operators": true,
"spaces_around_assignment_operators": true,
"spaces_around_bitwise_operators": true,
"spaces_around_equality_operators": true,
"spaces_around_lambda_arrow": true,
"spaces_around_logical_operators": true,
"spaces_around_multiplicative_operators": true,
"spaces_around_relational_operators": true,
"spaces_around_shift_operators": true,
"spaces_within_annotation_parentheses": false,
"spaces_within_array_initializer_braces": false,
"spaces_within_braces": true,
"spaces_within_brackets": false,
"spaces_within_cast_parentheses": false,
"spaces_within_catch_parentheses": false,
"spaces_within_for_parentheses": false,
"spaces_within_if_parentheses": false,
"spaces_within_method_call_parentheses": false,
"spaces_within_method_parentheses": false,
"spaces_within_parentheses": false,
"spaces_within_switch_parentheses": false,
"spaces_within_synchronized_parentheses": false,
"spaces_within_try_parentheses": false,
"spaces_within_while_parentheses": false,
"special_else_if_treatment": true,
"tab_width": 4,
"ternary_operation_wrap": "off",
"throws_keyword_wrap": "off",
"throws_list_wrap": "off",
"variable_annotation_wrap": "off",
"while_brace_force": "never",
"while_on_new_line": false,
"wrap_long_lines": false
},
"html": {
"add_new_line_before_tags": [
"body",
"div",
"p",
"form",
"h1",
"h2",
"h3"
],
"align_attributes": true,
"align_text": false,
"attribute_wrap": "normal",
"block_comment_at_first_column": true,
"continuation_indent_size": 8,
"do_not_align_children_of_min_lines": 0,
"do_not_break_if_inline_tags": [
"title",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"p"
],
"do_not_indent_children_of_tags": [
"html",
"body",
"thead",
"tbody",
"tfoot"
],
"enforce_quotes": false,
"indent_size": 4,
"indent_style": "space",
"inline_tags": [
"a",
"abbr",
"acronym",
"b",
"basefont",
"bdo",
"big",
"br",
"cite",
"cite",
"code",
"dfn",
"em",
"font",
"i",
"img",
"input",
"kbd",
"label",
"q",
"s",
"samp",
"select",
"span",
"strike",
"strong",
"sub",
"sup",
"textarea",
"tt",
"u",
"var"
],
"keep_blank_lines": 2,
"keep_indents_on_empty_lines": false,
"keep_line_breaks": true,
"keep_line_breaks_in_text": true,
"keep_whitespaces": false,
"keep_whitespaces_inside": [
"span",
"pre",
"textarea"
],
"line_comment_at_first_column": true,
"new_line_after_last_attribute": "never",
"new_line_before_first_attribute": "never",
"quote_style": "double",
"remove_new_line_before_tags": [
"br"
],
"smart_tabs": false,
"space_after_tag_name": false,
"space_around_equality_in_attribute": false,
"space_inside_empty_tag": false,
"tab_width": 4,
"text_wrap": "normal"
},
"json": {
"continuation_indent_size": 8,
"indent_size": 2,
"indent_style": "space",
"keep_blank_lines_in_code": 0,
"keep_indents_on_empty_lines": false,
"keep_line_breaks": true,
"smart_tabs": false,
"space_after_colon": true,
"space_after_comma": true,
"space_before_colon": true,
"space_before_comma": false,
"spaces_within_braces": false,
"spaces_within_brackets": false,
"tab_width": 4,
"wrap_long_lines": false
},
"properties": {
"align_group_field_declarations": false
},
"xml": {
"block_comment_at_first_column": true,
"continuation_indent_size": 8,
"indent_size": 4,
"indent_style": "space",
"keep_indents_on_empty_lines": false,
"line_comment_at_first_column": true,
"smart_tabs": false,
"tab_width": 4
}
}
}