forked from hugegraph/hugegraph-sync
chore: Add a newline formatting configuration and a comment for warning (#2464)
- Add a newline formatting configuration - Add a comment for the IDEA unsupported warning about `continuation_indent_size`
This commit is contained in:
parent
6db8b08f14
commit
044fd091a6
|
|
@ -22,9 +22,10 @@ charset = utf-8
|
|||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{java,xml,py}]
|
||||
[*.{java, xml, py}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.{java,xml}]
|
||||
[*.{java, xml}]
|
||||
# Ignore the IDEA unsupported warning & it works well (indeed)
|
||||
continuation_indent_size = 8
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@
|
|||
<option name="KEEP_BLANK_LINES_BETWEEN_PACKAGE_DECLARATION_AND_HEADER" value="1" />
|
||||
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
|
||||
<option name="BLANK_LINES_AROUND_CLASS" value="1" />
|
||||
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
|
||||
<indentOptions>
|
||||
<option name="SMART_TABS" value="true" />
|
||||
</indentOptions>
|
||||
|
|
|
|||
Loading…
Reference in New Issue