Add Kotlin Data Class, Sealed Class and Annotation file templates

#KT-20775 Fixed
This commit is contained in:
pavlospt
2020-06-24 13:26:07 +02:00
committed by Vladimir Dolzhenko
parent 2162c39ab3
commit 597bc061e2
6 changed files with 47 additions and 0 deletions
@@ -0,0 +1,5 @@
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
#parse("File Header.java")
annotation class ${NAME}()
@@ -0,0 +1,5 @@
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
#parse("File Header.java")
data class ${NAME}()
@@ -0,0 +1,14 @@
<html>
<body>
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
<tr>
<td colspan="3">
<font face="verdana" size="-1">
This is a built-in template used by <b>IDEA</b> each time you create a
Kotlin data class
</font>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,5 @@
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
#parse("File Header.java")
sealed class ${NAME}