semantic-kernel
/
.editorconfig
666 строк · 33.8 Кб
1# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
2###############################
3# Core EditorConfig Options #
4###############################
5root = true
6# All files
7[*]
8indent_style = space
9end_of_line = lf
10
11# XML project files
12[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
13indent_size = 2
14
15# XML config files
16[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
17indent_size = 2
18
19# YAML config files
20[*.{yml,yaml}]
21tab_width = 2
22indent_size = 2
23insert_final_newline = true
24trim_trailing_whitespace = true
25
26# JSON config files
27[*.json]
28tab_width = 2
29indent_size = 2
30insert_final_newline = false
31trim_trailing_whitespace = true
32
33# Typescript files
34[*.{ts,tsx}]
35insert_final_newline = true
36trim_trailing_whitespace = true
37tab_width = 4
38indent_size = 4
39file_header_template = Copyright (c) Microsoft. All rights reserved.
40
41# Stylesheet files
42[*.{css,scss,sass,less}]
43insert_final_newline = true
44trim_trailing_whitespace = true
45tab_width = 4
46indent_size = 4
47
48# Code files
49[*.{cs,csx,vb,vbx}]
50tab_width = 4
51indent_size = 4
52insert_final_newline = true
53trim_trailing_whitespace = true
54charset = utf-8-bom
55file_header_template = Copyright (c) Microsoft. All rights reserved.
56
57###############################
58# .NET Coding Conventions #
59###############################
60[*.{cs,vb}]
61# Organize usings
62dotnet_sort_system_directives_first = true
63# this. preferences
64dotnet_style_qualification_for_field = true:error
65dotnet_style_qualification_for_property = true:error
66dotnet_style_qualification_for_method = true:error
67dotnet_style_qualification_for_event = true:error
68# Language keywords vs BCL types preferences
69dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
70dotnet_style_predefined_type_for_member_access = true:suggestion
71# Parentheses preferences
72dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion
73dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion
74dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
75dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
76# Modifier preferences
77dotnet_style_require_accessibility_modifiers = for_non_interface_members:error
78dotnet_style_readonly_field = true:warning
79# Expression-level preferences
80dotnet_style_object_initializer = true:suggestion
81dotnet_style_collection_initializer = true:suggestion
82dotnet_style_explicit_tuple_names = true:suggestion
83dotnet_style_null_propagation = true:suggestion
84dotnet_style_coalesce_expression = true:suggestion
85dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
86dotnet_style_prefer_inferred_tuple_names = true:suggestion
87dotnet_style_prefer_inferred_anonymous_type_member_names = true:silent
88dotnet_style_prefer_auto_properties = true:suggestion
89dotnet_style_prefer_conditional_expression_over_assignment = true:silent
90dotnet_style_prefer_conditional_expression_over_return = true:silent
91dotnet_style_prefer_simplified_interpolation = true:suggestion
92dotnet_style_operator_placement_when_wrapping = beginning_of_line
93dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
94dotnet_style_prefer_compound_assignment = true:suggestion
95# Code quality rules
96dotnet_code_quality_unused_parameters = all:suggestion
97
98[*.cs]
99# Note: these settings cause "dotnet format" to fix the code. You should review each change if you uses "dotnet format".
100dotnet_diagnostic.RCS1036.severity = warning # Remove unnecessary blank line.
101dotnet_diagnostic.RCS1037.severity = warning # Remove trailing white-space.
102dotnet_diagnostic.RCS1097.severity = warning # Remove redundant 'ToString' call.
103dotnet_diagnostic.RCS1138.severity = warning # Add summary to documentation comment.
104dotnet_diagnostic.RCS1139.severity = warning # Add summary element to documentation comment.
105dotnet_diagnostic.RCS1168.severity = warning # Parameter name 'foo' differs from base name 'bar'.
106dotnet_diagnostic.RCS1175.severity = warning # Unused 'this' parameter 'operation'.
107dotnet_diagnostic.RCS1192.severity = warning # Unnecessary usage of verbatim string literal.
108dotnet_diagnostic.RCS1194.severity = warning # Implement exception constructors.
109dotnet_diagnostic.RCS1211.severity = warning # Remove unnecessary else clause.
110dotnet_diagnostic.RCS1214.severity = warning # Unnecessary interpolated string.
111dotnet_diagnostic.RCS1225.severity = warning # Make class sealed.
112dotnet_diagnostic.RCS1232.severity = warning # Order elements in documentation comment.
113
114# Commented out because `dotnet format` change can be disruptive.
115# dotnet_diagnostic.RCS1085.severity = warning # Use auto-implemented property.
116
117# Commented out because `dotnet format` removes the xmldoc element, while we should add the missing documentation instead.
118# dotnet_diagnostic.RCS1228.severity = warning # Unused element in documentation comment.
119
120# Diagnostics elevated as warnings
121dotnet_diagnostic.CA1000.severity = warning # Do not declare static members on generic types
122dotnet_diagnostic.CA1031.severity = warning # Do not catch general exception types
123dotnet_diagnostic.CA1050.severity = warning # Declare types in namespaces
124dotnet_diagnostic.CA1063.severity = warning # Implement IDisposable correctly
125dotnet_diagnostic.CA1064.severity = warning # Exceptions should be public
126dotnet_diagnostic.CA1416.severity = warning # Validate platform compatibility
127dotnet_diagnostic.CA1508.severity = warning # Avoid dead conditional code
128dotnet_diagnostic.CA1852.severity = warning # Sealed classes
129dotnet_diagnostic.CA1859.severity = warning # Use concrete types when possible for improved performance
130dotnet_diagnostic.CA1860.severity = warning # Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance
131dotnet_diagnostic.CA2000.severity = warning # Call System.IDisposable.Dispose on object before all references to it are out of scope
132dotnet_diagnostic.CA2201.severity = warning # Exception type System.Exception is not sufficiently specific
133
134dotnet_diagnostic.IDE0001.severity = warning # Simplify name
135dotnet_diagnostic.IDE0005.severity = warning # Remove unnecessary using directives
136dotnet_diagnostic.IDE0009.severity = warning # Add this or Me qualification
137dotnet_diagnostic.IDE0011.severity = warning # Add braces
138dotnet_diagnostic.IDE0018.severity = warning # Inline variable declaration
139dotnet_diagnostic.IDE0032.severity = warning # Use auto-implemented property
140dotnet_diagnostic.IDE0034.severity = warning # Simplify 'default' expression
141dotnet_diagnostic.IDE0035.severity = warning # Remove unreachable code
142dotnet_diagnostic.IDE0040.severity = warning # Add accessibility modifiers
143dotnet_diagnostic.IDE0049.severity = warning # Use language keywords instead of framework type names for type references
144dotnet_diagnostic.IDE0050.severity = warning # Convert anonymous type to tuple
145dotnet_diagnostic.IDE0051.severity = warning # Remove unused private member
146dotnet_diagnostic.IDE0055.severity = warning # Formatting rule
147dotnet_diagnostic.IDE0060.severity = warning # Remove unused parameter
148dotnet_diagnostic.IDE0070.severity = warning # Use 'System.HashCode.Combine'
149dotnet_diagnostic.IDE0071.severity = warning # Simplify interpolation
150dotnet_diagnostic.IDE0073.severity = warning # Require file header
151dotnet_diagnostic.IDE0082.severity = warning # Convert typeof to nameof
152dotnet_diagnostic.IDE0090.severity = warning # Simplify new expression
153dotnet_diagnostic.IDE0161.severity = warning # Use file-scoped namespace
154
155# Suppressed diagnostics
156dotnet_diagnostic.CA1002.severity = none # Change 'List<string>' in '...' to use 'Collection<T>' ...
157dotnet_diagnostic.CA1032.severity = none # We're using RCS1194 which seems to cover more ctors
158dotnet_diagnostic.CA1034.severity = none # Do not nest type. Alternatively, change its accessibility so that it is not externally visible
159dotnet_diagnostic.CA1062.severity = none # Disable null check, C# already does it for us
160dotnet_diagnostic.CA1303.severity = none # Do not pass literals as localized parameters
161dotnet_diagnostic.CA1305.severity = none # Operation could vary based on current user's locale settings
162dotnet_diagnostic.CA1307.severity = none # Operation has an overload that takes a StringComparison
163dotnet_diagnostic.CA1508.severity = none # Avoid dead conditional code. Too many false positives.
164dotnet_diagnostic.CA1510.severity = none # ArgumentNullException.Throw
165dotnet_diagnostic.CA1512.severity = none # ArgumentOutOfRangeException.Throw
166dotnet_diagnostic.CA1515.severity = none # Making public types from exes internal
167dotnet_diagnostic.CA1805.severity = none # Member is explicitly initialized to its default value
168dotnet_diagnostic.CA1822.severity = none # Member does not access instance data and can be marked as static
169dotnet_diagnostic.CA1848.severity = none # For improved performance, use the LoggerMessage delegates
170dotnet_diagnostic.CA1849.severity = none # Use async equivalent; analyzer is currently noisy
171dotnet_diagnostic.CA1865.severity = none # StartsWith(char)
172dotnet_diagnostic.CA1867.severity = none # EndsWith(char)
173dotnet_diagnostic.CA2007.severity = none # Do not directly await a Task
174dotnet_diagnostic.CA2225.severity = none # Operator overloads have named alternates
175dotnet_diagnostic.CA2227.severity = none # Change to be read-only by removing the property setter
176dotnet_diagnostic.CA2253.severity = none # Named placeholders in the logging message template should not be comprised of only numeric characters
177dotnet_diagnostic.CA2253.severity = none # Named placeholders in the logging message template should not be comprised of only numeric characters
178dotnet_diagnostic.CA2263.severity = suggestion # Use generic overload
179
180dotnet_diagnostic.VSTHRD103.severity = none # Use async equivalent; analyzer is currently noisy
181dotnet_diagnostic.VSTHRD111.severity = none # Use .ConfigureAwait(bool) is hidden by default, set to none to prevent IDE from changing on autosave
182dotnet_diagnostic.VSTHRD200.severity = none # Use Async suffix for async methods
183dotnet_diagnostic.xUnit1004.severity = none # Test methods should not be skipped. Remove the Skip property to start running the test again.
184
185dotnet_diagnostic.RCS1021.severity = none # Use expression-bodied lambda.
186dotnet_diagnostic.RCS1032.severity = none # Remove redundant parentheses.
187dotnet_diagnostic.RCS1061.severity = none # Merge 'if' with nested 'if'.
188dotnet_diagnostic.RCS1069.severity = none # Remove unnecessary case label.
189dotnet_diagnostic.RCS1074.severity = none # Remove redundant constructor.
190dotnet_diagnostic.RCS1077.severity = none # Optimize LINQ method call.
191dotnet_diagnostic.RCS1118.severity = none # Mark local variable as const.
192dotnet_diagnostic.RCS1124.severity = none # Inline local variable.
193dotnet_diagnostic.RCS1129.severity = none # Remove redundant field initialization.
194dotnet_diagnostic.RCS1140.severity = none # Add exception to documentation comment.
195dotnet_diagnostic.RCS1141.severity = none # Add 'param' element to documentation comment.
196dotnet_diagnostic.RCS1142.severity = none # Add 'typeparam' element to documentation comment.
197dotnet_diagnostic.RCS1146.severity = none # Use conditional access.
198dotnet_diagnostic.RCS1151.severity = none # Remove redundant cast.
199dotnet_diagnostic.RCS1158.severity = none # Static member in generic type should use a type parameter.
200dotnet_diagnostic.RCS1161.severity = none # Enum should declare explicit value
201dotnet_diagnostic.RCS1163.severity = none # Unused parameter 'foo'.
202dotnet_diagnostic.RCS1170.severity = none # Use read-only auto-implemented property.
203dotnet_diagnostic.RCS1173.severity = none # Use coalesce expression instead of 'if'.
204dotnet_diagnostic.RCS1181.severity = none # Convert comment to documentation comment.
205dotnet_diagnostic.RCS1186.severity = none # Use Regex instance instead of static method.
206dotnet_diagnostic.RCS1188.severity = none # Remove redundant auto-property initialization.
207dotnet_diagnostic.RCS1189.severity = none # Add region name to #endregion.
208dotnet_diagnostic.RCS1197.severity = none # Optimize StringBuilder.AppendLine call.
209dotnet_diagnostic.RCS1201.severity = none # Use method chaining.
210dotnet_diagnostic.RCS1205.severity = none # Order named arguments according to the order of parameters.
211dotnet_diagnostic.RCS1212.severity = none # Remove redundant assignment.
212dotnet_diagnostic.RCS1217.severity = none # Convert interpolated string to concatenation.
213dotnet_diagnostic.RCS1222.severity = none # Merge preprocessor directives.
214dotnet_diagnostic.RCS1226.severity = none # Add paragraph to documentation comment.
215dotnet_diagnostic.RCS1229.severity = none # Use async/await when necessary.
216dotnet_diagnostic.RCS1234.severity = none # Enum duplicate value
217dotnet_diagnostic.RCS1238.severity = none # Avoid nested ?: operators.
218dotnet_diagnostic.RCS1241.severity = none # Implement IComparable when implementing IComparable<T><T>.
219
220dotnet_diagnostic.IDE0001.severity = none # Simplify name
221dotnet_diagnostic.IDE0002.severity = none # Simplify member access
222dotnet_diagnostic.IDE0004.severity = none # Remove unnecessary cast
223dotnet_diagnostic.IDE0035.severity = none # Remove unreachable code
224dotnet_diagnostic.IDE0051.severity = none # Remove unused private member
225dotnet_diagnostic.IDE0052.severity = none # Remove unread private member
226dotnet_diagnostic.IDE0058.severity = none # Remove unused expression value
227dotnet_diagnostic.IDE0059.severity = none # Unnecessary assignment of a value
228dotnet_diagnostic.IDE0060.severity = none # Remove unused parameter
229dotnet_diagnostic.IDE0079.severity = none # Remove unnecessary suppression.
230dotnet_diagnostic.IDE0080.severity = none # Remove unnecessary suppression operator.
231dotnet_diagnostic.IDE0100.severity = none # Remove unnecessary equality operator
232dotnet_diagnostic.IDE0110.severity = none # Remove unnecessary discards
233dotnet_diagnostic.IDE0130.severity = none # Namespace does not match folder structure
234dotnet_diagnostic.IDE0032.severity = none # Use auto property
235dotnet_diagnostic.IDE0160.severity = none # Use block-scoped namespace
236dotnet_diagnostic.IDE1006.severity = warning # Naming rule violations
237
238###############################
239# Naming Conventions #
240###############################
241
242# Styles
243
244dotnet_naming_style.pascal_case_style.capitalization = pascal_case
245
246dotnet_naming_style.camel_case_style.capitalization = camel_case
247
248dotnet_naming_style.static_underscored.capitalization = camel_case
249dotnet_naming_style.static_underscored.required_prefix = s_
250
251dotnet_naming_style.underscored.capitalization = camel_case
252dotnet_naming_style.underscored.required_prefix = _
253
254dotnet_naming_style.uppercase_with_underscore_separator.capitalization = all_upper
255dotnet_naming_style.uppercase_with_underscore_separator.word_separator = _
256
257dotnet_naming_style.end_in_async.required_prefix =
258dotnet_naming_style.end_in_async.required_suffix = Async
259dotnet_naming_style.end_in_async.capitalization = pascal_case
260dotnet_naming_style.end_in_async.word_separator =
261
262# Symbols
263
264dotnet_naming_symbols.constant_fields.applicable_kinds = field
265dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
266dotnet_naming_symbols.constant_fields.required_modifiers = const
267
268dotnet_naming_symbols.local_constant.applicable_kinds = local
269dotnet_naming_symbols.local_constant.applicable_accessibilities = *
270dotnet_naming_symbols.local_constant.required_modifiers = const
271
272dotnet_naming_symbols.private_static_fields.applicable_kinds = field
273dotnet_naming_symbols.private_static_fields.applicable_accessibilities = private
274dotnet_naming_symbols.private_static_fields.required_modifiers = static
275
276dotnet_naming_symbols.private_fields.applicable_kinds = field
277dotnet_naming_symbols.private_fields.applicable_accessibilities = private
278
279dotnet_naming_symbols.any_async_methods.applicable_kinds = method
280dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
281dotnet_naming_symbols.any_async_methods.required_modifiers = async
282
283# Rules
284
285dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
286dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
287dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = error
288
289dotnet_naming_rule.local_constant_should_be_pascal_case.symbols = local_constant
290dotnet_naming_rule.local_constant_should_be_pascal_case.style = pascal_case_style
291dotnet_naming_rule.local_constant_should_be_pascal_case.severity = error
292
293dotnet_naming_rule.private_static_fields_underscored.symbols = private_static_fields
294dotnet_naming_rule.private_static_fields_underscored.style = static_underscored
295dotnet_naming_rule.private_static_fields_underscored.severity = error
296
297dotnet_naming_rule.private_fields_underscored.symbols = private_fields
298dotnet_naming_rule.private_fields_underscored.style = underscored
299dotnet_naming_rule.private_fields_underscored.severity = error
300
301dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
302dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
303dotnet_naming_rule.async_methods_end_in_async.severity = error
304
305###############################
306# C# Coding Conventions #
307###############################
308
309# var preferences
310csharp_style_var_for_built_in_types = false:none
311csharp_style_var_when_type_is_apparent = false:none
312csharp_style_var_elsewhere = false:none
313# Expression-bodied members
314csharp_style_expression_bodied_methods = false:silent
315csharp_style_expression_bodied_constructors = false:silent
316csharp_style_expression_bodied_operators = false:silent
317csharp_style_expression_bodied_properties = true:silent
318csharp_style_expression_bodied_indexers = true:silent
319csharp_style_expression_bodied_accessors = true:silent
320# Pattern matching preferences
321csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
322csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
323# Null-checking preferences
324csharp_style_throw_expression = true:suggestion
325csharp_style_conditional_delegate_call = true:suggestion
326# Modifier preferences
327csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
328# Expression-level preferences
329csharp_prefer_braces = true:error
330csharp_style_deconstructed_variable_declaration = true:suggestion
331csharp_prefer_simple_default_expression = true:suggestion
332csharp_style_prefer_local_over_anonymous_function = true:error
333csharp_style_inlined_variable_declaration = true:suggestion
334
335###############################
336# C# Formatting Rules #
337###############################
338
339# New line preferences
340csharp_new_line_before_open_brace = all
341csharp_new_line_before_else = true
342csharp_new_line_before_catch = true
343csharp_new_line_before_finally = true
344csharp_new_line_before_members_in_object_initializers = false # Does not work with resharper, forcing code to be on long lines instead of wrapping
345csharp_new_line_before_members_in_anonymous_types = true
346csharp_new_line_between_query_expression_clauses = true
347# Indentation preferences
348csharp_indent_braces = false
349csharp_indent_case_contents = true
350csharp_indent_case_contents_when_block = false
351csharp_indent_switch_labels = true
352csharp_indent_labels = flush_left
353# Space preferences
354csharp_space_after_cast = false
355csharp_space_after_keywords_in_control_flow_statements = true
356csharp_space_between_method_call_parameter_list_parentheses = false
357csharp_space_between_method_declaration_parameter_list_parentheses = false
358csharp_space_between_parentheses = false
359csharp_space_before_colon_in_inheritance_clause = true
360csharp_space_after_colon_in_inheritance_clause = true
361csharp_space_around_binary_operators = before_and_after
362csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
363csharp_space_between_method_call_name_and_opening_parenthesis = false
364csharp_space_between_method_call_empty_parameter_list_parentheses = false
365# Wrapping preferences
366csharp_preserve_single_line_statements = true
367csharp_preserve_single_line_blocks = true
368csharp_using_directive_placement = outside_namespace:warning
369csharp_prefer_simple_using_statement = true:suggestion
370csharp_style_namespace_declarations = file_scoped:warning
371csharp_style_prefer_method_group_conversion = true:silent
372csharp_style_prefer_top_level_statements = true:silent
373csharp_style_expression_bodied_lambdas = true:silent
374csharp_style_expression_bodied_local_functions = false:silent
375
376###############################
377# Resharper Rules #
378###############################
379
380# Resharper disabled rules: https://www.jetbrains.com/help/resharper/Reference__Code_Inspections_CSHARP.html#CodeSmell
381resharper_redundant_linebreak_highlighting = none # Disable Resharper's "Redundant line break" highlighting
382resharper_missing_linebreak_highlighting = none # Disable Resharper's "Missing line break" highlighting
383resharper_bad_empty_braces_line_breaks_highlighting = none # Disable Resharper's "Bad empty braces line breaks" highlighting
384resharper_missing_indent_highlighting = none # Disable Resharper's "Missing indent" highlighting
385resharper_missing_blank_lines_highlighting = none # Disable Resharper's "Missing blank lines" highlighting
386resharper_wrong_indent_size_highlighting = none # Disable Resharper's "Wrong indent size" highlighting
387resharper_bad_indent_highlighting = none # Disable Resharper's "Bad indent" highlighting
388resharper_bad_expression_braces_line_breaks_highlighting = none # Disable Resharper's "Bad expression braces line breaks" highlighting
389resharper_multiple_spaces_highlighting = none # Disable Resharper's "Multiple spaces" highlighting
390resharper_bad_expression_braces_indent_highlighting = none # Disable Resharper's "Bad expression braces indent" highlighting
391resharper_bad_control_braces_indent_highlighting = none # Disable Resharper's "Bad control braces indent" highlighting
392resharper_bad_preprocessor_indent_highlighting = none # Disable Resharper's "Bad preprocessor indent" highlighting
393resharper_redundant_blank_lines_highlighting = none # Disable Resharper's "Redundant blank lines" highlighting
394resharper_multiple_statements_on_one_line_highlighting = none # Disable Resharper's "Multiple statements on one line" highlighting
395resharper_bad_braces_spaces_highlighting = none # Disable Resharper's "Bad braces spaces" highlighting
396resharper_outdent_is_off_prev_level_highlighting = none # Disable Resharper's "Outdent is off previous level" highlighting
397resharper_bad_symbol_spaces_highlighting = none # Disable Resharper's "Bad symbol spaces" highlighting
398resharper_bad_colon_spaces_highlighting = none # Disable Resharper's "Bad colon spaces" highlighting
399resharper_bad_semicolon_spaces_highlighting = none # Disable Resharper's "Bad semicolon spaces" highlighting
400resharper_bad_square_brackets_spaces_highlighting = none # Disable Resharper's "Bad square brackets spaces" highlighting
401resharper_bad_parens_spaces_highlighting = none # Disable Resharper's "Bad parens spaces" highlighting
402
403# Resharper enabled rules: https://www.jetbrains.com/help/resharper/Reference__Code_Inspections_CSHARP.html#CodeSmell
404resharper_comment_typo_highlighting = suggestion # Resharper's "Comment typo" highlighting
405resharper_redundant_using_directive_highlighting = warning # Resharper's "Redundant using directive" highlighting
406resharper_inconsistent_naming_highlighting = warning # Resharper's "Inconsistent naming" highlighting
407resharper_redundant_this_qualifier_highlighting = warning # Resharper's "Redundant 'this' qualifier" highlighting
408resharper_arrange_this_qualifier_highlighting = warning # Resharper's "Arrange 'this' qualifier" highlighting
409
410###############################
411# Java Coding Conventions #
412###############################
413[*.java]
414charset = utf-8
415end_of_line = lf
416indent_size = 2
417indent_style = space
418insert_final_newline = false
419tab_width = 2
420ij_formatter_off_tag = @formatter:off
421ij_formatter_on_tag = @formatter:on
422ij_smart_tabs = false
423ij_visual_guides = none
424
425max_line_length = 100
426ij_continuation_indent_size = 4
427ij_formatter_tags_enabled = false
428ij_wrap_on_typing = false
429
430ij_java_align_consecutive_assignments = false
431ij_java_align_consecutive_variable_declarations = false
432ij_java_align_group_field_declarations = false
433ij_java_align_multiline_annotation_parameters = false
434ij_java_align_multiline_array_initializer_expression = false
435ij_java_align_multiline_assignment = false
436ij_java_align_multiline_binary_operation = false
437ij_java_align_multiline_chained_methods = false
438ij_java_align_multiline_extends_list = false
439ij_java_align_multiline_for = false
440ij_java_align_multiline_method_parentheses = false
441ij_java_align_multiline_parameters = false
442ij_java_align_multiline_parameters_in_calls = false
443ij_java_align_multiline_parenthesized_expression = false
444ij_java_align_multiline_resources = false
445ij_java_align_multiline_ternary_operation = false
446ij_java_align_multiline_throws_list = false
447ij_java_align_subsequent_simple_methods = false
448ij_java_align_throws_keyword = false
449ij_java_annotation_parameter_wrap = off
450ij_java_array_initializer_new_line_after_left_brace = false
451ij_java_array_initializer_right_brace_on_new_line = false
452ij_java_array_initializer_wrap = normal
453ij_java_assert_statement_colon_on_next_line = false
454ij_java_assert_statement_wrap = off
455ij_java_assignment_wrap = off
456ij_java_binary_operation_sign_on_next_line = true
457ij_java_binary_operation_wrap = normal
458ij_java_blank_lines_after_anonymous_class_header = 0
459ij_java_blank_lines_after_class_header = 1
460ij_java_blank_lines_after_imports = 1
461ij_java_blank_lines_after_package = 1
462ij_java_blank_lines_around_class = 1
463ij_java_blank_lines_around_field = 0
464ij_java_blank_lines_around_field_in_interface = 0
465ij_java_blank_lines_around_initializer = 1
466ij_java_blank_lines_around_method = 1
467ij_java_blank_lines_around_method_in_interface = 1
468ij_java_blank_lines_before_class_end = 0
469ij_java_blank_lines_before_imports = 1
470ij_java_blank_lines_before_method_body = 0
471ij_java_blank_lines_before_package = 0
472ij_java_block_brace_style = end_of_line
473ij_java_block_comment_at_first_column = true
474ij_java_call_parameters_new_line_after_left_paren = false
475ij_java_call_parameters_right_paren_on_new_line = false
476ij_java_call_parameters_wrap = normal
477ij_java_case_statement_on_separate_line = true
478ij_java_catch_on_new_line = false
479ij_java_class_annotation_wrap = split_into_lines
480ij_java_class_brace_style = end_of_line
481ij_java_class_count_to_use_import_on_demand = 999
482ij_java_class_names_in_javadoc = 1
483ij_java_do_not_indent_top_level_class_members = false
484ij_java_do_not_wrap_after_single_annotation = false
485ij_java_do_while_brace_force = always
486ij_java_doc_add_blank_line_after_description = true
487ij_java_doc_add_blank_line_after_param_comments = false
488ij_java_doc_add_blank_line_after_return = false
489ij_java_doc_add_p_tag_on_empty_lines = true
490ij_java_doc_align_exception_comments = true
491ij_java_doc_align_param_comments = true
492ij_java_doc_do_not_wrap_if_one_line = false
493ij_java_doc_enable_formatting = true
494ij_java_doc_enable_leading_asterisks = true
495ij_java_doc_indent_on_continuation = false
496ij_java_doc_keep_empty_lines = true
497ij_java_doc_keep_empty_parameter_tag = true
498ij_java_doc_keep_empty_return_tag = true
499ij_java_doc_keep_empty_throws_tag = true
500ij_java_doc_keep_invalid_tags = true
501ij_java_doc_param_description_on_new_line = false
502ij_java_doc_preserve_line_breaks = false
503ij_java_doc_use_throws_not_exception_tag = true
504ij_java_else_on_new_line = false
505ij_java_entity_dd_suffix = EJB
506ij_java_entity_eb_suffix = Bean
507ij_java_entity_hi_suffix = Home
508ij_java_entity_lhi_prefix = Local
509ij_java_entity_lhi_suffix = Home
510ij_java_entity_li_prefix = Local
511ij_java_entity_pk_class = java.lang.String
512ij_java_entity_vo_suffix = VO
513ij_java_enum_constants_wrap = off
514ij_java_extends_keyword_wrap = off
515ij_java_extends_list_wrap = normal
516ij_java_field_annotation_wrap = split_into_lines
517ij_java_finally_on_new_line = false
518ij_java_for_brace_force = always
519ij_java_for_statement_new_line_after_left_paren = false
520ij_java_for_statement_right_paren_on_new_line = false
521ij_java_for_statement_wrap = normal
522ij_java_generate_final_locals = false
523ij_java_generate_final_parameters = false
524ij_java_if_brace_force = always
525ij_java_imports_layout = $*, |, *
526ij_java_indent_case_from_switch = true
527ij_java_insert_inner_class_imports = true
528ij_java_insert_override_annotation = true
529ij_java_keep_blank_lines_before_right_brace = 2
530ij_java_keep_blank_lines_between_package_declaration_and_header = 2
531ij_java_keep_blank_lines_in_code = 1
532ij_java_keep_blank_lines_in_declarations = 2
533ij_java_keep_control_statement_in_one_line = false
534ij_java_keep_first_column_comment = true
535ij_java_keep_indents_on_empty_lines = false
536ij_java_keep_line_breaks = true
537ij_java_keep_multiple_expressions_in_one_line = false
538ij_java_keep_simple_blocks_in_one_line = false
539ij_java_keep_simple_classes_in_one_line = false
540ij_java_keep_simple_lambdas_in_one_line = false
541ij_java_keep_simple_methods_in_one_line = false
542ij_java_lambda_brace_style = end_of_line
543ij_java_layout_static_imports_separately = true
544ij_java_line_comment_add_space = false
545ij_java_line_comment_at_first_column = true
546ij_java_message_dd_suffix = EJB
547ij_java_message_eb_suffix = Bean
548ij_java_method_annotation_wrap = split_into_lines
549ij_java_method_brace_style = end_of_line
550ij_java_method_call_chain_wrap = normal
551ij_java_method_parameters_new_line_after_left_paren = false
552ij_java_method_parameters_right_paren_on_new_line = false
553ij_java_method_parameters_wrap = normal
554ij_java_modifier_list_wrap = false
555ij_java_names_count_to_use_import_on_demand = 999
556ij_java_parameter_annotation_wrap = off
557ij_java_parentheses_expression_new_line_after_left_paren = false
558ij_java_parentheses_expression_right_paren_on_new_line = false
559ij_java_place_assignment_sign_on_next_line = false
560ij_java_prefer_longer_names = true
561ij_java_prefer_parameters_wrap = false
562ij_java_repeat_synchronized = true
563ij_java_replace_instanceof_and_cast = false
564ij_java_replace_null_check = true
565ij_java_replace_sum_lambda_with_method_ref = true
566ij_java_resource_list_new_line_after_left_paren = false
567ij_java_resource_list_right_paren_on_new_line = false
568ij_java_resource_list_wrap = off
569ij_java_session_dd_suffix = EJB
570ij_java_session_eb_suffix = Bean
571ij_java_session_hi_suffix = Home
572ij_java_session_lhi_prefix = Local
573ij_java_session_lhi_suffix = Home
574ij_java_session_li_prefix = Local
575ij_java_session_si_suffix = Service
576ij_java_space_after_closing_angle_bracket_in_type_argument = false
577ij_java_space_after_colon = true
578ij_java_space_after_comma = true
579ij_java_space_after_comma_in_type_arguments = true
580ij_java_space_after_for_semicolon = true
581ij_java_space_after_quest = true
582ij_java_space_after_type_cast = true
583ij_java_space_before_annotation_array_initializer_left_brace = false
584ij_java_space_before_annotation_parameter_list = false
585ij_java_space_before_array_initializer_left_brace = false
586ij_java_space_before_catch_keyword = true
587ij_java_space_before_catch_left_brace = true
588ij_java_space_before_catch_parentheses = true
589ij_java_space_before_class_left_brace = true
590ij_java_space_before_colon = true
591ij_java_space_before_colon_in_foreach = true
592ij_java_space_before_comma = false
593ij_java_space_before_do_left_brace = true
594ij_java_space_before_else_keyword = true
595ij_java_space_before_else_left_brace = true
596ij_java_space_before_finally_keyword = true
597ij_java_space_before_finally_left_brace = true
598ij_java_space_before_for_left_brace = true
599ij_java_space_before_for_parentheses = true
600ij_java_space_before_for_semicolon = false
601ij_java_space_before_if_left_brace = true
602ij_java_space_before_if_parentheses = true
603ij_java_space_before_method_call_parentheses = false
604ij_java_space_before_method_left_brace = true
605ij_java_space_before_method_parentheses = false
606ij_java_space_before_opening_angle_bracket_in_type_parameter = false
607ij_java_space_before_quest = true
608ij_java_space_before_switch_left_brace = true
609ij_java_space_before_switch_parentheses = true
610ij_java_space_before_synchronized_left_brace = true
611ij_java_space_before_synchronized_parentheses = true
612ij_java_space_before_try_left_brace = true
613ij_java_space_before_try_parentheses = true
614ij_java_space_before_type_parameter_list = false
615ij_java_space_before_while_keyword = true
616ij_java_space_before_while_left_brace = true
617ij_java_space_before_while_parentheses = true
618ij_java_space_inside_one_line_enum_braces = false
619ij_java_space_within_empty_array_initializer_braces = false
620ij_java_space_within_empty_method_call_parentheses = false
621ij_java_space_within_empty_method_parentheses = false
622ij_java_spaces_around_additive_operators = true
623ij_java_spaces_around_assignment_operators = true
624ij_java_spaces_around_bitwise_operators = true
625ij_java_spaces_around_equality_operators = true
626ij_java_spaces_around_lambda_arrow = true
627ij_java_spaces_around_logical_operators = true
628ij_java_spaces_around_method_ref_dbl_colon = false
629ij_java_spaces_around_multiplicative_operators = true
630ij_java_spaces_around_relational_operators = true
631ij_java_spaces_around_shift_operators = true
632ij_java_spaces_around_type_bounds_in_type_parameters = true
633ij_java_spaces_around_unary_operator = false
634ij_java_spaces_within_angle_brackets = false
635ij_java_spaces_within_annotation_parentheses = false
636ij_java_spaces_within_array_initializer_braces = false
637ij_java_spaces_within_braces = false
638ij_java_spaces_within_brackets = false
639ij_java_spaces_within_cast_parentheses = false
640ij_java_spaces_within_catch_parentheses = false
641ij_java_spaces_within_for_parentheses = false
642ij_java_spaces_within_if_parentheses = false
643ij_java_spaces_within_method_call_parentheses = false
644ij_java_spaces_within_method_parentheses = false
645ij_java_spaces_within_parentheses = false
646ij_java_spaces_within_switch_parentheses = false
647ij_java_spaces_within_synchronized_parentheses = false
648ij_java_spaces_within_try_parentheses = false
649ij_java_spaces_within_while_parentheses = false
650ij_java_special_else_if_treatment = true
651ij_java_subclass_name_suffix = Impl
652ij_java_ternary_operation_signs_on_next_line = true
653ij_java_ternary_operation_wrap = normal
654ij_java_test_name_suffix = Test
655ij_java_throws_keyword_wrap = normal
656ij_java_throws_list_wrap = off
657ij_java_use_external_annotations = false
658ij_java_use_fq_class_names = false
659ij_java_use_single_class_imports = true
660ij_java_variable_annotation_wrap = off
661ij_java_visibility = public
662ij_java_while_brace_force = always
663ij_java_while_on_new_line = false
664ij_java_wrap_comments = true
665ij_java_wrap_first_method_in_call_chain = false
666ij_java_wrap_long_lines = false
667