Add in formatting xml for IntelliJ

This commit is contained in:
RyanTheAllmighty 2014-08-27 14:41:23 +10:00
parent 0e9d6c32a9
commit 6821538c63
3 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
!/LICENSE
!/README.md
!/pom.xml
!/IntelliJ-Coding-Style.xml

21
IntelliJ-Coding-Style.xml Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="IntelliJ Coding Style">
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000000" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000000" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value />
</option>
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
<option name="WRAP_COMMENTS" value="true" />
<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="WRAP_LONG_LINES" value="true" />
</codeStyleSettings>
</code_scheme>

View file

@ -29,6 +29,7 @@ Other than that, I am releasing this as an Open Source project in hopes that oth
+ Please keep all inner classes at the bottom
+ Please don't use star imports
+ Please mark all classes that are to be de/serialized with Gson with the @Json annotation for other developers
+ Please use the IntelliJ-Coding-Style.xml for the project (if using IntelliJ) in order to keep all formatting consistent
### Building