KT-31295: Add New Kotlin Worksheet action
- creates new kotlin file with `.ws.kts` extension
This commit is contained in:
committed by
Natalia Selezneva
parent
f6b03dc02f
commit
232c7fdd0e
@@ -51,6 +51,9 @@
|
||||
<action id="Kotlin.NewScript" class="org.jetbrains.kotlin.idea.actions.NewKotlinScriptAction">
|
||||
<add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFromTemplate"/>
|
||||
</action>
|
||||
<action id="Kotlin.NewWorksheet" class="org.jetbrains.kotlin.idea.actions.NewKotlinWorksheetAction">
|
||||
<add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFromTemplate"/>
|
||||
</action>
|
||||
|
||||
<group id = "ConvertJavaToKotlinGroup">
|
||||
<separator/>
|
||||
@@ -381,6 +384,7 @@
|
||||
<internalFileTemplate name="Kotlin Class"/>
|
||||
<internalFileTemplate name="Kotlin Enum"/>
|
||||
<internalFileTemplate name="Kotlin Interface"/>
|
||||
<internalFileTemplate name="Kotlin Worksheet"/>
|
||||
<internalFileTemplate name="Kotlin Script"/>
|
||||
|
||||
<gotoSymbolContributor implementation="org.jetbrains.kotlin.idea.goto.KotlinGotoSymbolContributor"/>
|
||||
|
||||
@@ -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 Worksheet
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user