Files
Frederik Haselmeier 3db9d19ca5 [kotlin] Added option to disable spaces around elvis operator
^KTIJ-28596 fixed

GitOrigin-RevId: 839ae8af9eccff90cf82dcb2fad59e35c9aa702b
2024-08-12 16:12:56 +00:00

110 lines
4.2 KiB
JSON

{
"schemeName": "Test",
"version": "1.0",
"codeStyle": {
"kotlin": {
"align_in_columns_case_branch": false,
"align_multiline_binary_operation": false,
"align_multiline_extends_list": false,
"align_multiline_method_parentheses": false,
"align_multiline_parameters": true,
"align_multiline_parameters_in_calls": false,
"allow_trailing_comma": false,
"allow_trailing_comma_on_call_site": false,
"assignment_wrap": "normal",
"blank_lines_after_class_header": 0,
"blank_lines_around_block_when_branches": 0,
"blank_lines_before_declaration_with_comment_or_annotation_on_separate_line": 1,
"block_comment_add_space": false,
"block_comment_at_first_column": true,
"call_parameters_new_line_after_left_paren": true,
"call_parameters_right_paren_on_new_line": true,
"call_parameters_wrap": "on_every_item",
"catch_on_new_line": false,
"class_annotation_wrap": "split_into_lines",
"code_style_defaults": "KOTLIN_OFFICIAL",
"continuation_indent_for_chained_calls": false,
"continuation_indent_for_expression_bodies": false,
"continuation_indent_in_argument_lists": false,
"continuation_indent_in_elvis": false,
"continuation_indent_in_if_conditions": false,
"continuation_indent_in_parameter_lists": false,
"continuation_indent_in_supertype_lists": false,
"continuation_indent_size": 8,
"else_on_new_line": false,
"enum_constants_wrap": "off",
"extends_list_wrap": "normal",
"field_annotation_wrap": "split_into_lines",
"finally_on_new_line": false,
"if_rparen_on_new_line": true,
"import_nested_classes": false,
"imports_layout": [
"*",
"java.**",
"javax.**",
"kotlin.**",
"^"
],
"indent_before_arrow_on_new_line": true,
"indent_size": 4,
"indent_style": "space",
"insert_whitespaces_in_simple_one_line_method": true,
"keep_blank_lines_before_right_brace": 2,
"keep_blank_lines_in_code": 2,
"keep_blank_lines_in_declarations": 2,
"keep_first_column_comment": true,
"keep_indents_on_empty_lines": false,
"keep_line_breaks": true,
"lbrace_on_next_line": false,
"line_break_after_multiline_when_entry": true,
"line_comment_add_space": false,
"line_comment_add_space_on_reformat": false,
"line_comment_at_first_column": true,
"method_annotation_wrap": "split_into_lines",
"method_call_chain_wrap": "normal",
"method_parameters_new_line_after_left_paren": true,
"method_parameters_right_paren_on_new_line": true,
"method_parameters_wrap": "on_every_item",
"name_count_to_use_star_import": 2147483647,
"name_count_to_use_star_import_for_members": 2147483647,
"packages_to_use_import_on_demand": [
"java.util.*",
"kotlinx.android.synthetic.**",
"io.ktor.**"
],
"parameter_annotation_wrap": "off",
"smart_tabs": false,
"space_after_comma": true,
"space_after_extend_colon": true,
"space_after_type_colon": true,
"space_before_catch_parentheses": true,
"space_before_comma": false,
"space_before_extend_colon": true,
"space_before_for_parentheses": true,
"space_before_if_parentheses": true,
"space_before_lambda_arrow": true,
"space_before_type_colon": false,
"space_before_when_parentheses": true,
"space_before_while_parentheses": true,
"spaces_around_additive_operators": true,
"spaces_around_assignment_operators": true,
"spaces_around_elvis": true,
"spaces_around_equality_operators": true,
"spaces_around_function_type_arrow": true,
"spaces_around_logical_operators": true,
"spaces_around_multiplicative_operators": true,
"spaces_around_range": false,
"spaces_around_relational_operators": true,
"spaces_around_unary_operator": false,
"spaces_around_when_arrow": true,
"tab_width": 4,
"variable_annotation_wrap": "off",
"visual_guides": [],
"while_on_new_line": false,
"wrap_elvis_expressions": 1,
"wrap_expression_body_functions": 1,
"wrap_first_method_in_call_chain": false
}
}
}