-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
.editorconfig
38 lines (32 loc) · 1.08 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
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = space
max_line_length = 120
ij_any_align_multiline_parameters = false
ij_any_do_while_brace_force = always
ij_any_for_brace_force = always
ij_any_if_brace_force = always
ij_any_while_brace_force = always
[{*.sh,gradlew}]
end_of_line = lf
[{*.bat,*.cmd}]
end_of_line = crlf
[{*.kts,*.kt}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
# Kotlin code style does not use double-continuation indents
# Revise this when the following issues are resolved:
# https://youtrack.jetbrains.com/issue/KTIJ-17907
# https://github.com/pinterest/ktlint/issues/805
ij_kotlin_continuation_indent_size = 4
[*.java]
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
#"static ", "java.", "javax", "org", "net", "com", ""
ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,net.**,|,com.**,|,*
ij_java_use_single_class_imports = true
[*.xml]
indent_size = 2