From 9cb2e07b9b06562b54e0cf5dfd78c5e3715bcacd Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Tue, 20 Mar 2018 10:10:52 +0100 Subject: [PATCH] Add common IDEA file templates (bisq-network/style#8) --- .idea/fileTemplates/includes/File Header.java | 16 ++++++++++++++++ .idea/fileTemplates/internal/AnnotationType.java | 4 ++++ .idea/fileTemplates/internal/Class.java | 4 ++++ .idea/fileTemplates/internal/Enum.java | 4 ++++ .idea/fileTemplates/internal/Interface.java | 4 ++++ 5 files changed, 32 insertions(+) create mode 100644 .idea/fileTemplates/includes/File Header.java create mode 100644 .idea/fileTemplates/internal/AnnotationType.java create mode 100644 .idea/fileTemplates/internal/Class.java create mode 100644 .idea/fileTemplates/internal/Enum.java create mode 100644 .idea/fileTemplates/internal/Interface.java diff --git a/.idea/fileTemplates/includes/File Header.java b/.idea/fileTemplates/includes/File Header.java new file mode 100644 index 0000000000..397d96c8a2 --- /dev/null +++ b/.idea/fileTemplates/includes/File Header.java @@ -0,0 +1,16 @@ +/* + * This file is part of Bisq. + * + * Bisq is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * Bisq is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public + * License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Bisq. If not, see . + */ \ No newline at end of file diff --git a/.idea/fileTemplates/internal/AnnotationType.java b/.idea/fileTemplates/internal/AnnotationType.java new file mode 100644 index 0000000000..471086f12f --- /dev/null +++ b/.idea/fileTemplates/internal/AnnotationType.java @@ -0,0 +1,4 @@ +#parse("File Header.java") +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end +public @interface ${NAME} { +} diff --git a/.idea/fileTemplates/internal/Class.java b/.idea/fileTemplates/internal/Class.java new file mode 100644 index 0000000000..352bcb1f43 --- /dev/null +++ b/.idea/fileTemplates/internal/Class.java @@ -0,0 +1,4 @@ +#parse("File Header.java") +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end +class ${NAME} { +} diff --git a/.idea/fileTemplates/internal/Enum.java b/.idea/fileTemplates/internal/Enum.java new file mode 100644 index 0000000000..cec22e643b --- /dev/null +++ b/.idea/fileTemplates/internal/Enum.java @@ -0,0 +1,4 @@ +#parse("File Header.java") +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end +public enum ${NAME} { +} diff --git a/.idea/fileTemplates/internal/Interface.java b/.idea/fileTemplates/internal/Interface.java new file mode 100644 index 0000000000..aaa2a5b461 --- /dev/null +++ b/.idea/fileTemplates/internal/Interface.java @@ -0,0 +1,4 @@ +#parse("File Header.java") +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end +public interface ${NAME} { +}