mirror of
https://github.com/bitwarden/android.git
synced 2024-11-27 12:00:19 +03:00
263 lines
8.6 KiB
XML
263 lines
8.6 KiB
XML
<code_scheme name="BitwardenStyle" version="173">
|
|
<option name="FORMATTER_TAGS_ENABLED" value="true" />
|
|
<AndroidXmlCodeStyleSettings>
|
|
<option name="LAYOUT_SETTINGS">
|
|
<value>
|
|
<option name="INSERT_LINE_BREAK_BEFORE_NAMESPACE_DECLARATION" value="true" />
|
|
</value>
|
|
</option>
|
|
</AndroidXmlCodeStyleSettings>
|
|
<JavaCodeStyleSettings>
|
|
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="5" />
|
|
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="3" />
|
|
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
|
|
<value>
|
|
<package name="java.awt" withSubpackages="false" static="false" />
|
|
<package name="javax.swing" withSubpackages="false" static="false" />
|
|
</value>
|
|
</option>
|
|
<option name="IMPORT_LAYOUT_TABLE">
|
|
<value>
|
|
<package name="" withSubpackages="true" static="false" />
|
|
<emptyLine />
|
|
<package name="javax" withSubpackages="true" static="false" />
|
|
<package name="java" withSubpackages="true" static="false" />
|
|
<emptyLine />
|
|
<package name="" withSubpackages="true" static="true" />
|
|
</value>
|
|
</option>
|
|
<option name="JD_P_AT_EMPTY_LINES" value="false" />
|
|
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
|
|
<option name="JD_KEEP_EMPTY_PARAMETER" value="false" />
|
|
<option name="JD_KEEP_EMPTY_EXCEPTION" value="false" />
|
|
<option name="JD_KEEP_EMPTY_RETURN" value="false" />
|
|
<option name="JD_PRESERVE_LINE_FEEDS" value="true" />
|
|
</JavaCodeStyleSettings>
|
|
<JetCodeStyleSettings>
|
|
<option name="ALLOW_TRAILING_COMMA" value="true" />
|
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
</JetCodeStyleSettings>
|
|
<MarkdownNavigatorCodeStyleSettings>
|
|
<option name="RIGHT_MARGIN" value="72" />
|
|
</MarkdownNavigatorCodeStyleSettings>
|
|
<XML>
|
|
<option name="XML_ATTRIBUTE_WRAP" value="2" />
|
|
</XML>
|
|
<editorconfig>
|
|
<option name="ENABLED" value="false" />
|
|
</editorconfig>
|
|
<ADDITIONAL_INDENT_OPTIONS fileType="java">
|
|
<option name="TAB_SIZE" value="8" />
|
|
</ADDITIONAL_INDENT_OPTIONS>
|
|
<ADDITIONAL_INDENT_OPTIONS fileType="js">
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
</ADDITIONAL_INDENT_OPTIONS>
|
|
<codeStyleSettings language="JAVA">
|
|
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
|
<option name="CALL_PARAMETERS_WRAP" value="1" />
|
|
<option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
|
|
<option name="METHOD_PARAMETERS_WRAP" value="1" />
|
|
<option name="RESOURCE_LIST_WRAP" value="1" />
|
|
<option name="EXTENDS_LIST_WRAP" value="1" />
|
|
<option name="THROWS_LIST_WRAP" value="1" />
|
|
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
|
|
<option name="THROWS_KEYWORD_WRAP" value="1" />
|
|
<option name="METHOD_CALL_CHAIN_WRAP" value="1" />
|
|
<option name="BINARY_OPERATION_WRAP" value="1" />
|
|
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
|
|
<option name="TERNARY_OPERATION_WRAP" value="1" />
|
|
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
|
|
<option name="FOR_STATEMENT_WRAP" value="1" />
|
|
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
|
|
<option name="ASSIGNMENT_WRAP" value="1" />
|
|
<option name="WRAP_COMMENTS" value="true" />
|
|
<option name="IF_BRACE_FORCE" value="3" />
|
|
<option name="DOWHILE_BRACE_FORCE" value="3" />
|
|
<option name="WHILE_BRACE_FORCE" value="3" />
|
|
<option name="FOR_BRACE_FORCE" value="3" />
|
|
<option name="ENUM_CONSTANTS_WRAP" value="1" />
|
|
</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>.*:layout_width</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:layout_height</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:layout_.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:width</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:height</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</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>BY_NAME</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="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
|
|
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
<option name="WRAP_FIRST_METHOD_IN_CALL_CHAIN" value="true" />
|
|
<option name="ENUM_CONSTANTS_WRAP" value="5" />
|
|
<option name="WRAP_ON_TYPING" value="0" />
|
|
<indentOptions>
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
</code_scheme>
|