Skip to content

Instantly share code, notes, and snippets.

@pcnoic
Last active April 6, 2023 11:46
Show Gist options
  • Save pcnoic/b044dfdffa39a3a3e7f3993ead2ce37d to your computer and use it in GitHub Desktop.
Save pcnoic/b044dfdffa39a3a3e7f3993ead2ce37d to your computer and use it in GitHub Desktop.
java formatting settings xml
<code_scheme name="Clutch code style" version="173">
<option name="AUTODETECT_INDENTS" value="false" />
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</value>
</option>
<option name="FORMATTER_TAGS_ENABLED" value="true" />
<DB2CodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</DB2CodeStyleSettings>
<DerbyCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</DerbyCodeStyleSettings>
<H2CodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</H2CodeStyleSettings>
<HSQLCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</HSQLCodeStyleSettings>
<HTMLCodeStyleSettings>
<option name="HTML_DO_NOT_INDENT_CHILDREN_OF" value="html,body,thead,tbody,tfoot,script" />
</HTMLCodeStyleSettings>
<JSCodeStyleSettings version="0">
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
<option name="INDENT_CHAINED_CALLS" value="false" />
</JSCodeStyleSettings>
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<MSSQLCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</MSSQLCodeStyleSettings>
<MySQLCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</MySQLCodeStyleSettings>
<OracleCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</OracleCodeStyleSettings>
<PostgresCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</PostgresCodeStyleSettings>
<SQLiteCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</SQLiteCodeStyleSettings>
<ScalaCodeStyleSettings>
<option name="alwaysUsedImports">
<array>
<option value="play.api.Play.current" />
</array>
</option>
<option name="SPACE_BEFORE_INFIX_OPERATOR_LIKE_METHOD_CALL_PARENTHESES" value="false" />
</ScalaCodeStyleSettings>
<SqlCodeStyleSettings version="5">
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</SqlCodeStyleSettings>
<SybaseCodeStyleSettings version="5">
<option name="USE_GENERAL_STYLE" value="false" />
<option name="TABLE_OPENING" value="1" />
<option name="TABLE_CONTENT" value="2" />
<option name="TABLE_CLOSING" value="3" />
<option name="CREATE_SCHEMA_CONTENT_INDENT" value="false" />
</SybaseCodeStyleSettings>
<codeStyleSettings language="HTML">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JAVA">
<option name="RIGHT_MARGIN" value="180" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="SPACE_BEFORE_IF_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_WHILE_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_FOR_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_TRY_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_CATCH_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_SWITCH_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_SYNCHRONIZED_PARENTHESES" value="false" />
<option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
<option name="KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE" value="true" />
<option name="KEEP_SIMPLE_CLASSES_IN_ONE_LINE" value="true" />
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JavaScript">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
<option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Scala">
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
<option name="SPACE_BEFORE_IF_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_WHILE_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_FOR_PARENTHESES" value="false" />
</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>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment