Skip to content

Commit 7fd6813

Browse files
committed
Add Kotlin style settings to SquareAndroid
1 parent d848e2f commit 7fd6813

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

configs/codestyles/SquareAndroid.xml

+16
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@
7575
<JavaCodeStyleSettings>
7676
<option name="CLASS_NAMES_IN_JAVADOC" value="3" />
7777
</JavaCodeStyleSettings>
78+
<JetCodeStyleSettings>
79+
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
80+
<value />
81+
</option>
82+
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="999" />
83+
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="999" />
84+
<option name="IMPORT_NESTED_CLASSES" value="true" />
85+
</JetCodeStyleSettings>
7886
<XML>
7987
<option name="XML_ALIGN_ATTRIBUTES" value="false" />
8088
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
@@ -212,6 +220,14 @@
212220
<option name="TAB_SIZE" value="2" />
213221
</indentOptions>
214222
</codeStyleSettings>
223+
<codeStyleSettings language="kotlin">
224+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
225+
<indentOptions>
226+
<option name="INDENT_SIZE" value="2" />
227+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
228+
<option name="TAB_SIZE" value="2" />
229+
</indentOptions>
230+
</codeStyleSettings>
215231
<codeStyleSettings language="SQL">
216232
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
217233
<option name="PARENT_SETTINGS_INSTALLED" value="true" />

0 commit comments

Comments
 (0)