mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 22:25:44 +03:00
Change IDE Kotlin code formatter to follow official recommendations
From https://developer.android.com/kotlin/style-guide When a function signature does not fit on a single line, break each parameter declaration onto its own line.Parameters defined in this format should use a single indent (+4). The closing parenthesis ()) and return type are placed on their own line with no additional indent. fun <T> Iterable<T>.joinToString( separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "" ): String { // … } Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
This commit is contained in:
parent
f3effa397b
commit
9613502253
1 changed files with 1 additions and 3 deletions
|
@ -61,6 +61,7 @@
|
|||
</option>
|
||||
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
|
||||
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
|
||||
<option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="false" />
|
||||
</JetCodeStyleSettings>
|
||||
<MarkdownNavigatorCodeStyleSettings>
|
||||
<option name="RIGHT_MARGIN" value="120" />
|
||||
|
@ -193,8 +194,5 @@
|
|||
</rules>
|
||||
</arrangement>
|
||||
</codeStyleSettings>
|
||||
<codeStyleSettings language="kotlin">
|
||||
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
Loading…
Reference in a new issue