From b44bb2140331abd681687880a74c691119708f49 Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 31 Aug 2020 12:49:15 +0100 Subject: [PATCH] Add public keyword to new Kotlin class declarations This prevents the IDE from instantly displaying an error message due to our use of explicit API mode. Signed-off-by: Graham --- .idea/fileTemplates/internal/Kotlin Class.kt | 6 ++++++ .idea/fileTemplates/internal/Kotlin Enum.kt | 6 ++++++ .idea/fileTemplates/internal/Kotlin Interface.kt | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 .idea/fileTemplates/internal/Kotlin Class.kt create mode 100644 .idea/fileTemplates/internal/Kotlin Enum.kt create mode 100644 .idea/fileTemplates/internal/Kotlin Interface.kt diff --git a/.idea/fileTemplates/internal/Kotlin Class.kt b/.idea/fileTemplates/internal/Kotlin Class.kt new file mode 100644 index 0000000000..dcedd940e2 --- /dev/null +++ b/.idea/fileTemplates/internal/Kotlin Class.kt @@ -0,0 +1,6 @@ +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME} + +#end +#parse("File Header.java") +public class ${NAME} { +} \ No newline at end of file diff --git a/.idea/fileTemplates/internal/Kotlin Enum.kt b/.idea/fileTemplates/internal/Kotlin Enum.kt new file mode 100644 index 0000000000..3dae9b18a4 --- /dev/null +++ b/.idea/fileTemplates/internal/Kotlin Enum.kt @@ -0,0 +1,6 @@ +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME} + +#end +#parse("File Header.java") +public enum class ${NAME} { +} \ No newline at end of file diff --git a/.idea/fileTemplates/internal/Kotlin Interface.kt b/.idea/fileTemplates/internal/Kotlin Interface.kt new file mode 100644 index 0000000000..b8cd39ae9d --- /dev/null +++ b/.idea/fileTemplates/internal/Kotlin Interface.kt @@ -0,0 +1,6 @@ +#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME} + +#end +#parse("File Header.java") +public interface ${NAME} { +} \ No newline at end of file