9c35b6fe5d
Enabled clang-format in Clion
54 lines
No EOL
3.5 KiB
XML
54 lines
No EOL
3.5 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<Objective-C>
|
|
<option name="INDENT_NAMESPACE_MEMBERS" value="2" />
|
|
<option name="INDENT_C_STRUCT_MEMBERS" value="2" />
|
|
<option name="INDENT_CLASS_MEMBERS" value="2" />
|
|
<option name="INDENT_INSIDE_CODE_BLOCK" value="2" />
|
|
<option name="INDENT_DIRECTIVE_AS_CODE" value="true" />
|
|
<option name="SPACE_BEFORE_TEMPLATE_DECLARATION_LT" value="true" />
|
|
<option name="SPACE_BEFORE_POINTER_IN_DECLARATION" value="false" />
|
|
<!-- Disabled until clang-format can do it <option name="SPACE_AFTER_POINTER_IN_DECLARATION" value="true" /> -->
|
|
<option name="SPACE_BEFORE_REFERENCE_IN_DECLARATION" value="false" />
|
|
<option name="SPACE_AFTER_REFERENCE_IN_DECLARATION" value="true" />
|
|
</Objective-C>
|
|
<Objective-C-extensions>
|
|
<rules>
|
|
<rule entity="NAMESPACE" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_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="STRUCT" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_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="CAMEL_CASE" suffix="" />
|
|
<rule entity="UNION" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="CLASS_MEMBER_FUNCTION" visibility="ANY" specifier="ANY" prefix="" style="PASCAL_CASE" suffix="" />
|
|
<rule entity="STRUCT_MEMBER_FUNCTION" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="CLASS_MEMBER_FIELD" visibility="ANY" specifier="ANY" prefix="" style="CAMEL_CASE" suffix="" />
|
|
<rule entity="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="CAMEL_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>
|
|
<codeStyleSettings language="ObjectiveC">
|
|
<option name="RIGHT_MARGIN" value="140" />
|
|
<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="WRAP_ON_TYPING" value="1" />
|
|
<indentOptions>
|
|
<option name="INDENT_SIZE" value="2" />
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
<option name="TAB_SIZE" value="2" />
|
|
<option name="LABEL_INDENT_ABSOLUTE" value="true" />
|
|
<option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
<clangFormatSettings>
|
|
<option name="ENABLED" value="true" />
|
|
</clangFormatSettings>
|
|
</code_scheme>
|
|
</component> |