mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
8e86fa668d
Fix settings layout Merge branch 'master' into deeplinks Support for all links, check gitea instance, add progress indicator Enhance account checks, improve the experience of coming from links Merge branch 'master' into deeplinks Update libs Minor layout fixes gradle update Fix show/hide views Handle pr, repos. Handle settings for no action. open issue from link Add new settings section translation ready - General for generic settings wip on handle popular links Co-authored-by: M M Arif <mmarif@swatian.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 <6543@noreply.codeberg.org> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/730
174 lines
6.3 KiB
XML
174 lines
6.3 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<JavaCodeStyleSettings>
|
|
<option name="IMPORT_LAYOUT_TABLE">
|
|
<value>
|
|
<package name="android" withSubpackages="true" static="false" />
|
|
<package name="androidx" withSubpackages="true" static="false" />
|
|
<package name="com" withSubpackages="true" static="false" />
|
|
<package name="junit" withSubpackages="true" static="false" />
|
|
<package name="net" withSubpackages="true" static="false" />
|
|
<package name="org" withSubpackages="true" static="false" />
|
|
<package name="java" withSubpackages="true" static="false" />
|
|
<package name="javax" withSubpackages="true" static="false" />
|
|
<package name="" withSubpackages="true" static="false" />
|
|
<package name="" withSubpackages="true" static="true" />
|
|
</value>
|
|
</option>
|
|
</JavaCodeStyleSettings>
|
|
<JetCodeStyleSettings>
|
|
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
|
|
<value>
|
|
<package name="java.util" withSubpackages="false" static="false" />
|
|
<package name="kotlinx.android.synthetic" withSubpackages="true" static="false" />
|
|
<package name="io.ktor" withSubpackages="true" static="false" />
|
|
</value>
|
|
</option>
|
|
</JetCodeStyleSettings>
|
|
<codeStyleSettings language="JAVA">
|
|
<option name="RIGHT_MARGIN" value="220" />
|
|
<option name="KEEP_LINE_BREAKS" value="false" />
|
|
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
|
|
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
|
|
<option name="BLANK_LINES_BEFORE_METHOD_BODY" value="1" />
|
|
<option name="BLANK_LINES_AROUND_FIELD_IN_INTERFACE" value="1" />
|
|
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
|
|
<option name="BLANK_LINES_AFTER_ANONYMOUS_CLASS_HEADER" value="1" />
|
|
<option name="BLANK_LINES_BEFORE_CLASS_END" value="1" />
|
|
<option name="ELSE_ON_NEW_LINE" value="true" />
|
|
<option name="CATCH_ON_NEW_LINE" value="true" />
|
|
<option name="FINALLY_ON_NEW_LINE" value="true" />
|
|
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
<option name="SPACE_BEFORE_IF_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_WHILE_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_FOR_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_TRY_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_CATCH_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_SWITCH_PARENTHESES" value="false" />
|
|
<option name="SPACE_BEFORE_SYNCHRONIZED_PARENTHESES" value="false" />
|
|
<option name="CALL_PARAMETERS_WRAP" value="1" />
|
|
<option name="METHOD_PARAMETERS_WRAP" value="1" />
|
|
<option name="THROWS_LIST_WRAP" value="1" />
|
|
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
|
|
<option name="TERNARY_OPERATION_WRAP" value="1" />
|
|
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
|
|
<option name="IF_BRACE_FORCE" value="3" />
|
|
<indentOptions>
|
|
<option name="USE_TAB_CHARACTER" value="true" />
|
|
<option name="SMART_TABS" value="true" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="XML">
|
|
<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>
|
|
</code_scheme>
|
|
</component> |