####Default from AS 2.2
- Field name prefix:
m
- Static field name prefix:
s
- Final local and parameters: true
- Right margin: true (100) [Ensure right margin is not exceeded]
- Keep getters & setters together
<code_scheme name="StefDefault"> | |
<option name="FIELD_NAME_PREFIX" value="m" /> | |
<option name="STATIC_FIELD_NAME_PREFIX" value="s" /> | |
<option name="GENERATE_FINAL_LOCALS" value="true" /> | |
<option name="GENERATE_FINAL_PARAMETERS" value="true" /> | |
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> | |
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> | |
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND"> | |
<value /> | |
</option> | |
<option name="IMPORT_LAYOUT_TABLE"> | |
<value> | |
<package name="android" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="com" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="junit" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="net" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="org" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="java" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="javax" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="" withSubpackages="true" static="false" /> | |
<emptyLine /> | |
<package name="" withSubpackages="true" static="true" /> | |
<emptyLine /> | |
</value> | |
</option> | |
<option name="RIGHT_MARGIN" value="100" /> | |
<AndroidXmlCodeStyleSettings> | |
<option name="USE_CUSTOM_SETTINGS" value="true" /> | |
</AndroidXmlCodeStyleSettings> | |
<Objective-C-extensions> | |
<option name="GENERATE_INSTANCE_VARIABLES_FOR_PROPERTIES" value="ASK" /> | |
<option name="RELEASE_STYLE" value="IVAR" /> | |
<option name="TYPE_QUALIFIERS_PLACEMENT" value="BEFORE" /> | |
<file> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" /> | |
</file> | |
<class> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" /> | |
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" /> | |
</class> | |
<extensions> | |
<pair source="cpp" header="h" /> | |
<pair source="c" header="h" /> | |
</extensions> | |
</Objective-C-extensions> | |
<XML> | |
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> | |
</XML> | |
<codeStyleSettings language="JAVA"> | |
<option name="BLANK_LINES_AROUND_FIELD" value="1" /> | |
<option name="WRAP_LONG_LINES" value="true" /> | |
</codeStyleSettings> | |
<codeStyleSettings language="XML"> | |
<option name="FORCE_REARRANGE_MODE" value="1" /> | |
<indentOptions> | |
<option name="CONTINUATION_INDENT_SIZE" value="4" /> | |
</indentOptions> | |
<arrangement> | |
<rules> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>xmlns:android</NAME> | |
<XML_NAMESPACE>^$</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>xmlns:.*</NAME> | |
<XML_NAMESPACE>^$</XML_NAMESPACE> | |
</AND> | |
</match> | |
<order>BY_NAME</order> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*:id</NAME> | |
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*:name</NAME> | |
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>name</NAME> | |
<XML_NAMESPACE>^$</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>style</NAME> | |
<XML_NAMESPACE>^$</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*</NAME> | |
<XML_NAMESPACE>^$</XML_NAMESPACE> | |
</AND> | |
</match> | |
<order>BY_NAME</order> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*:layout_width</NAME> | |
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*:layout_height</NAME> | |
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> | |
</AND> | |
</match> | |
</rule> | |
</section> | |
<section> | |
<rule> | |
<match> | |
<AND> | |
<NAME>.*:layout_.*</NAME> | |
<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_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_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_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_NAMESPACE>.*</XML_NAMESPACE> | |
</AND> | |
</match> | |
<order>BY_NAME</order> | |
</rule> | |
</section> | |
</rules> | |
</arrangement> | |
</codeStyleSettings> | |
</code_scheme> |