diff --git a/README.md b/README.md index c440c3f1b..ee30c2b6f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Refer to [AWS Deployment](deployment/README.md) to deploy this solution to AWS. ### Code Style -There are many different source type under this project, the overall style is enforced via `./gradlew spotlessCheck` and is verified on all pull requests. Spotless can resolve these issues automatically with `./gradlew spotlessApply`. An recommended eclipse formatter [formatter.xml](./formatter.xml) is available at the root of the project, consult your IDE extensions/plugins for how to use this formatter during development. +There are many different source type under this project, the overall style is enforced via `./gradlew spotlessCheck` and is verified on all pull requests. Spotless can resolve these issues automatically with `./gradlew spotlessApply`. A recommended formatter for [Eclipse](./dev-tools/formatters/eclipse-formatter.xml) and [IntelliJ](./dev-tools/formatters/intellij-formatter.xml) are available, consult your IDE extensions/plugins for how to use these formatter during development. ### Pre-commit hooks diff --git a/dev-tools/formatters/eclipse-formatter.xml b/dev-tools/formatters/eclipse-formatter.xml new file mode 100644 index 000000000..f161c0394 --- /dev/null +++ b/dev-tools/formatters/eclipse-formatter.xml @@ -0,0 +1,360 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-tools/formatters/intellij-formatter.xml b/dev-tools/formatters/intellij-formatter.xml new file mode 100644 index 000000000..4c98b480f --- /dev/null +++ b/dev-tools/formatters/intellij-formatter.xml @@ -0,0 +1,77 @@ + + \ No newline at end of file diff --git a/formatter.xml b/formatter.xml deleted file mode 100644 index 09184f490..000000000 --- a/formatter.xml +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file