mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-30 15:50:53 +08:00
155 lines
5.4 KiB
XML
155 lines
5.4 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<option name="RIGHT_MARGIN" value="160" />
|
|
<JetCodeStyleSettings>
|
|
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
|
|
<value>
|
|
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
|
|
</value>
|
|
</option>
|
|
<option name="ALIGN_IN_COLUMNS_CASE_BRANCH" value="true" />
|
|
<option name="LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY" value="false" />
|
|
<option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="true" />
|
|
<option name="CONTINUATION_INDENT_IN_ARGUMENT_LISTS" value="true" />
|
|
<option name="CONTINUATION_INDENT_FOR_EXPRESSION_BODIES" value="true" />
|
|
<option name="CONTINUATION_INDENT_FOR_CHAINED_CALLS" value="true" />
|
|
<option name="CONTINUATION_INDENT_IN_SUPERTYPE_LISTS" value="true" />
|
|
<option name="CONTINUATION_INDENT_IN_IF_CONDITIONS" value="true" />
|
|
<option name="CONTINUATION_INDENT_IN_ELVIS" value="true" />
|
|
<option name="WRAP_EXPRESSION_BODY_FUNCTIONS" value="0" />
|
|
<option name="IF_RPAREN_ON_NEW_LINE" value="false" />
|
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
</JetCodeStyleSettings>
|
|
<codeStyleSettings language="XML">
|
|
<option name="RIGHT_MARGIN" value="160" />
|
|
<indentOptions>
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
</indentOptions>
|
|
<arrangement>
|
|
<rules>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>xmlns:android</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>xmlns:.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:id</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:name</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>name</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>style</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>ANDROID_ATTRIBUTE_ORDER</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>.*</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
</rules>
|
|
</arrangement>
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="kotlin">
|
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
<option name="RIGHT_MARGIN" value="160" />
|
|
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
|
|
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
|
|
<option name="CALL_PARAMETERS_WRAP" value="0" />
|
|
<option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
|
|
<option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
|
|
<option name="METHOD_PARAMETERS_WRAP" value="0" />
|
|
<option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="false" />
|
|
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="false" />
|
|
<option name="EXTENDS_LIST_WRAP" value="0" />
|
|
<option name="METHOD_CALL_CHAIN_WRAP" value="0" />
|
|
<option name="ASSIGNMENT_WRAP" value="0" />
|
|
<option name="CLASS_ANNOTATION_WRAP" value="0" />
|
|
<option name="FIELD_ANNOTATION_WRAP" value="1" />
|
|
</codeStyleSettings>
|
|
</code_scheme>
|
|
</component> |