Skip to content

Instantly share code, notes, and snippets.

@SandeepGamot
Created October 1, 2018 10:30
Show Gist options
  • Save SandeepGamot/c07825621f1add342d177ad3ab2d43b8 to your computer and use it in GitHub Desktop.
Save SandeepGamot/c07825621f1add342d177ad3ab2d43b8 to your computer and use it in GitHub Desktop.
Allman Indent for IntelliJ IDEA and Jetbrains IDEs. Download this file and "import style from settings->code styles->import"
<code_scheme name="Allman">
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA"> <!-- ENTER YOU LANGUAGE HERE -->
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
<option name="BRACE_STYLE" value="2" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="CLASS_BRACE_STYLE" value="2" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
<option name="METHOD_BRACE_STYLE" value="2" />
</codeStyleSettings>
</code_scheme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment