Add EditorConfig

http://editorconfig.org/
This commit is contained in:
Ville Skyttä 2016-10-08 11:37:56 +03:00 committed by Clebert Suconic
parent 15f44d60df
commit b2fe246e62
4 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ ratReport.txt
.settings
.checkstyle
.factorypath
**/.editorconfig
**/derby.log
# for native build

View File

@ -13,3 +13,9 @@ conflicts with [m2e](http://eclipse.org/m2e/).
# Idea
If you completed the step described on [idea instructions](ide.md#style-templates-and-inspection-settings-for-idea), and selected the code style accordingly you should be ready to go.
# EditorConfig
For editors supporting [EditorConfig](http://editorconfig.org/), a settings file is provided in
etc/ide-settings/editorconfig.ini. Copy it to your Artemis top level directory and
[name it .editorconfig](http://editorconfig.org/#file-location)

View File

@ -0,0 +1,11 @@
# Copy to your Artemis top level dir and rename to .editorconfig
# http://editorconfig.org/#file-location
[*.{java,xml}]
indent_style = space
indent_size = 3
tab_width = 3
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View File

@ -1269,6 +1269,7 @@
<exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.editorconfig</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/.factorypath</exclude>
<exclude>ratReport.txt</exclude>