From 36995c46ef6c2421d0a6af78f1c55383ea7628f7 Mon Sep 17 00:00:00 2001 From: Graham Date: Fri, 2 Aug 2019 08:02:23 +0100 Subject: [PATCH] Add initial IntelliJ IDEA code style configuration --- .gitignore | 1 + .idea/.gitignore | 4 ++ .idea/codeStyles/Project.xml | 59 +++++++++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 +++ .idea/fileTemplates/internal/Class.java | 4 ++ 5 files changed, 73 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/fileTemplates/internal/Class.java diff --git a/.gitignore b/.gitignore index b7099542..05907f41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .* !.git* +!.idea !.mailmap */target *~ diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..37a5401e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,4 @@ +/* +!.gitignore +!codeStyles +!fileTemplates diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..b3a339f2 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..79ee123c --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/fileTemplates/internal/Class.java b/.idea/fileTemplates/internal/Class.java new file mode 100644 index 00000000..bb46927f --- /dev/null +++ b/.idea/fileTemplates/internal/Class.java @@ -0,0 +1,4 @@ +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end +#parse("File Header.java") +public final class ${NAME} { +}