Install this code style by copying Cassandra.xml to ~/.IntelliJIdea13/config/codestyles/Cassandra.xml
Created
September 13, 2014 18:15
-
-
Save jdsumsion/9ab750a05c2a567c6afc to your computer and use it in GitHub Desktop.
Cassandra code base codestyle for IntelliJ 13
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<code_scheme name="Cassandra"> | |
<option name="RIGHT_MARGIN" value="160" /> | |
<XML> | |
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> | |
</XML> | |
<codeStyleSettings language="JAVA"> | |
<option name="BRACE_STYLE" value="2" /> | |
<option name="CLASS_BRACE_STYLE" value="2" /> | |
<option name="METHOD_BRACE_STYLE" value="2" /> | |
<option name="ELSE_ON_NEW_LINE" value="true" /> | |
<option name="CATCH_ON_NEW_LINE" value="true" /> | |
<option name="FINALLY_ON_NEW_LINE" value="true" /> | |
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" /> | |
<option name="IF_BRACE_FORCE" value="1" /> | |
<option name="DOWHILE_BRACE_FORCE" value="1" /> | |
<option name="WHILE_BRACE_FORCE" value="1" /> | |
<option name="FOR_BRACE_FORCE" value="1" /> | |
</codeStyleSettings> | |
<codeStyleSettings language="JavaScript"> | |
<option name="ELSE_ON_NEW_LINE" value="true" /> | |
<option name="CATCH_ON_NEW_LINE" value="true" /> | |
<option name="FINALLY_ON_NEW_LINE" value="true" /> | |
<option name="DOWHILE_BRACE_FORCE" value="3" /> | |
<option name="WHILE_BRACE_FORCE" value="3" /> | |
<option name="FOR_BRACE_FORCE" value="3" /> | |
<indentOptions> | |
<option name="INDENT_SIZE" value="2" /> | |
<option name="TAB_SIZE" value="2" /> | |
</indentOptions> | |
</codeStyleSettings> | |
<codeStyleSettings language="XML"> | |
<indentOptions> | |
<option name="INDENT_SIZE" value="2" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="4" /> | |
<option name="TAB_SIZE" value="2" /> | |
</indentOptions> | |
</codeStyleSettings> | |
</code_scheme> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment