Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Lunatrius
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lunatrius/460be5119b93d73c24ab to your computer and use it in GitHub Desktop.
Save Lunatrius/460be5119b93d73c24ab to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="MinecraftLunatrius">
<!--
1. Save this file to $HOME/.IdeaIC13/config/codestyles/ (.IdeaIC13 might be different, depending on your version)
2. In IDEA: File > Settings... > Code Style > Java > Scheme: set this to "MinecraftLunatrius"
3. Save.
-->
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="50" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="20" />
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA">
<option name="KEEP_LINE_BREAKS" value="false" />
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
<option name="INDENT_CASE_FROM_SWITCH" value="false" />
<option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACES" value="true" />
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
<option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
<option name="KEEP_SIMPLE_CLASSES_IN_ONE_LINE" value="true" />
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" />
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
</codeStyleSettings>
</code_scheme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment