Last active
July 25, 2020 06:50
-
-
Save murphypei/3e0fcec34e3e0a985005d0dd05aafc9d to your computer and use it in GitHub Desktop.
clion c++ style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<code_scheme name="Project" version="173"> | |
<Objective-C> | |
<option name="INDENT_NAMESPACE_MEMBERS" value="0" /> | |
<option name="NAMESPACE_BRACE_PLACEMENT" value="5" /> | |
<option name="FUNCTION_BRACE_PLACEMENT" value="5" /> | |
<option name="BLOCK_BRACE_PLACEMENT" value="5" /> | |
<option name="LAMBDA_CAPTURE_LIST_WRAP" value="1" /> | |
<option name="INSERT_VIRTUAL_WITH_OVERRIDE" value="true" /> | |
</Objective-C> | |
<Objective-C-extensions> | |
<extensions> | |
<pair source="cpp" header="h" fileNamingConvention="LOWERCASE" /> | |
<pair source="c" header="h" fileNamingConvention="NONE" /> | |
</extensions> | |
</Objective-C-extensions> | |
<codeStyleSettings language="ObjectiveC"> | |
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" /> | |
<option name="BLANK_LINES_BEFORE_IMPORTS" value="0" /> | |
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" /> | |
<option name="BRACE_STYLE" value="5" /> | |
<option name="CLASS_BRACE_STYLE" value="5" /> | |
<option name="ELSE_ON_NEW_LINE" value="true" /> | |
<option name="WHILE_ON_NEW_LINE" value="true" /> | |
<option name="CATCH_ON_NEW_LINE" value="true" /> | |
<option name="FOR_STATEMENT_WRAP" value="1" /> | |
<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="2" /> | |
</codeStyleSettings> | |
</code_scheme> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
保存为 xml 文件,然后直接导入 clion 中使用。