Skip to content

Commit

Permalink
[MSHARED-1408] Refresh IntelliJ formater
Browse files Browse the repository at this point in the history
Exported by IntelliJ IDEA 2024.1.2 (Ultimate Edition)
  • Loading branch information
slawekjaranowski committed Jun 8, 2024
1 parent 1b5b3a5 commit ec66b7d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main/resources/config/maven-idea-codestyle-2022.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,26 @@ under the License.
</option>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="" withSubpackages="true" static="true" />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
</value>
</option>
<option name="ALIGN_TYPES_IN_MULTI_CATCH" value="false" />
<option name="JD_ALIGN_PARAM_COMMENTS" value="false" />
<option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false" />
<option name="JD_P_AT_EMPTY_LINES" value="false" />
<option name="JD_KEEP_EMPTY_LINES" value="false" />
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
<option name="JD_PRESERVE_LINE_FEEDS" value="true" />
<option name="JD_INDENT_ON_CONTINUATION" value="true" />
</JavaCodeStyleSettings>
<XML>
<option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
<option name="XML_KEEP_WHITE_SPACES_INSIDE_CDATA" value="true" />
</XML>
<editorconfig>
Expand Down Expand Up @@ -89,6 +96,7 @@ under the License.
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
<option name="KEEP_BLANK_LINES_BETWEEN_PACKAGE_DECLARATION_AND_HEADER" value="1" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
<option name="BLANK_LINES_BEFORE_IMPORTS" value="0" />
<option name="BLANK_LINES_AROUND_FIELD" value="1" />
<option name="BLANK_LINES_AROUND_FIELD_IN_INTERFACE" value="1" />
<option name="WHILE_ON_NEW_LINE" value="true" />
Expand Down Expand Up @@ -123,7 +131,7 @@ under the License.
<codeStyleSettings language="XML">
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
Expand Down
5 changes: 5 additions & 0 deletions src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ ${project.name}
{{{/developers/conventions/code.html}Maven coding conventions}} that can be
used in Maven Checkstyle Plugin.

* IntelliJ IDEA code formater

** <<<config/maven-idea-codestyle-2022.xml>>>

This is IntelliJ IDEA code formater which can be imported into IDE.

* Usage

Expand Down

0 comments on commit ec66b7d

Please sign in to comment.