-
Notifications
You must be signed in to change notification settings - Fork 40
/
.editorconfig
44 lines (38 loc) · 1.33 KB
/
.editorconfig
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
# Android Studio: Settings > Editor > Code Style > Enable EditorConfig support
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
max_line_length = 150
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
ij_continuation_indent_size = 4
[*.java]
ij_java_names_count_to_use_import_on_demand = 3
ij_java_class_count_to_use_import_on_demand = 3
ij_java_blank_lines_around_method_in_interface = 0
ij_java_doc_do_not_wrap_if_one_line = true
ij_java_keep_first_column_comment = false
ij_java_keep_simple_blocks_in_one_line = true
ij_java_keep_simple_classes_in_one_line = true
ij_java_keep_simple_lambdas_in_one_line = true
ij_java_keep_simple_methods_in_one_line = true
ij_java_line_comment_add_space = true
ij_java_line_comment_at_first_column = false
ij_java_spaces_within_array_initializer_braces = true
[*.kt]
ij_kotlin_name_count_to_use_star_import = 3
ij_kotlin_name_count_to_use_star_import_for_members = 3
ij_kotlin_keep_first_column_comment = false
ij_kotlin_line_comment_add_space = true
ij_kotlin_line_comment_at_first_column = false
ij_kotlin_allow_trailing_comma = true
[*.{xml,yml}]
indent_size = 2
[*.properties]
ij_properties_align_group_field_declarations = false
ij_properties_keep_blank_lines = true
ij_properties_key_value_delimiter = equals
ij_properties_spaces_around_key_value_delimiter = false