mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-26 05:01:52 +01:00
0849d8b116
The `codeStyle`/`inspectionProfiles` format has been updated alongside minor changes to the syntax for search scopes and they have been fixed to match it accordingly.
231 lines
9.6 KiB
XML
231 lines
9.6 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<option name="RIGHT_MARGIN" value="400" />
|
|
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
|
|
<option name="FORMATTER_TAGS_ENABLED" value="true" />
|
|
<option name="FORMATTER_ON_TAG" value="@fmt:on" />
|
|
<option name="FORMATTER_OFF_TAG" value="@fmt:off" />
|
|
<option name="SOFT_MARGINS" value="80,140" />
|
|
<JetCodeStyleSettings>
|
|
<option name="SPACE_BEFORE_TYPE_COLON" value="true" />
|
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
|
</JetCodeStyleSettings>
|
|
<Objective-C>
|
|
<option name="INDENT_VISIBILITY_KEYWORDS" value="2" />
|
|
<option name="INDENT_PREPROCESSOR_DIRECTIVE" value="4" />
|
|
<option name="INDENT_DIRECTIVE_AS_CODE" value="true" />
|
|
<option name="KEEP_STRUCTURES_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_NESTED_NAMESPACES_IN_ONE_LINE" value="true" />
|
|
<option name="FUNCTION_NON_TOP_AFTER_RETURN_TYPE_WRAP" value="0" />
|
|
<option name="FUNCTION_TOP_AFTER_RETURN_TYPE_WRAP" value="0" />
|
|
<option name="FUNCTION_PARAMETERS_WRAP" value="0" />
|
|
<option name="FUNCTION_CALL_ARGUMENTS_WRAP" value="0" />
|
|
<option name="SHIFT_OPERATION_WRAP" value="0" />
|
|
<option name="TEMPLATE_CALL_ARGUMENTS_ALIGN_MULTILINE" value="true" />
|
|
<option name="CLASS_CONSTRUCTOR_INIT_LIST_WRAP" value="0" />
|
|
<option name="SUPERCLASS_LIST_WRAP" value="0" />
|
|
<option name="ALIGN_INIT_LIST_IN_COLUMNS" value="false" />
|
|
<option name="SPACE_BEFORE_COLON_IN_FOREACH" value="true" />
|
|
<option name="SPACE_BEFORE_DICTIONARY_LITERAL_COLON" value="true" />
|
|
<option name="ADD_BRIEF_TAG" value="true" />
|
|
<option name="HEADER_GUARD_STYLE_PATTERN" value="${PROJECT_NAME}_${PROJECT_REL_PATH}_${FILE_NAME}_${EXT}" />
|
|
<option name="MACROS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="CLASSES_AND_STRUCTS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="ENUMS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="TYPEDEFS_NAMING_CONVENTION">
|
|
<value prefix="" style="SNAKE_CASE" suffix="" />
|
|
</option>
|
|
<option name="UNIONS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="METHODS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="GLOBAL_FUNCTIONS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="GLOBAL_VARIABLES_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
</Objective-C>
|
|
<Objective-C-extensions>
|
|
<extensions>
|
|
<pair source="cpp" header="h" fileNamingConvention="SNAKE_CASE" />
|
|
<pair source="c" header="h" fileNamingConvention="SNAKE_CASE" />
|
|
<pair source="cpp" header="h" fileNamingConvention="PASCAL_CASE" />
|
|
<pair source="cpp" header="h" fileNamingConvention="NONE" />
|
|
</extensions>
|
|
<rules>
|
|
<rule entity="NAMESPACE" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="MACRO" visibility="ANY" specifier="ANY" prefix="" style="SCREAMING_SNAKE_CASE" suffix="" />
|
|
<rule entity="CLASS" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="ENUM" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="ENUMERATOR" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="TYPEDEF" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="UNION" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="CLASS_MEMBER_FUNCTION,STRUCT_MEMBER_FUNCTION" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="CLASS_MEMBER_FIELD,STRUCT_MEMBER_FIELD" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="GLOBAL_FUNCTION" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="GLOBAL_VARIABLE" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="PARAMETER" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="LOCAL_VARIABLE" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
</rules>
|
|
</Objective-C-extensions>
|
|
<XML>
|
|
<option name="XML_ATTRIBUTE_WRAP" value="0" />
|
|
</XML>
|
|
<editorconfig>
|
|
<option name="ENABLED" value="false" />
|
|
</editorconfig>
|
|
<codeStyleSettings language="JAVA">
|
|
<option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_CLASSES_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_MULTIPLE_EXPRESSIONS_IN_ONE_LINE" value="true" />
|
|
<option name="WRAP_LONG_LINES" value="true" />
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="ObjectiveC">
|
|
<option name="RIGHT_MARGIN" value="999" />
|
|
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
|
|
<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="1" />
|
|
<option name="BLANK_LINES_AROUND_CLASS" value="0" />
|
|
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="false" />
|
|
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
|
|
<option name="TERNARY_OPERATION_WRAP" value="0" />
|
|
<option name="FOR_STATEMENT_WRAP" value="1" />
|
|
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
|
|
<option name="ASSIGNMENT_WRAP" value="1" />
|
|
<option name="SOFT_MARGINS" value="140" />
|
|
<indentOptions>
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
<option name="LABEL_INDENT_SIZE" value="-2" />
|
|
</indentOptions>
|
|
</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_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="999" />
|
|
</codeStyleSettings>
|
|
</code_scheme>
|
|
</component> |