Reformat main function templates
(cherry picked from commit d6d3846)
This commit is contained in:
committed by
Nikolay Krasko
parent
4d6206a7b5
commit
7e1d8fb8f5
@@ -2,7 +2,7 @@
|
|||||||
<templateSet group="Kotlin">
|
<templateSet group="Kotlin">
|
||||||
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
||||||
name="main" toReformat="true" toShortenFQNames="true"
|
name="main" toReformat="true" toShortenFQNames="true"
|
||||||
value="fun main(args : Array<String>) { $END$ }">
|
value="fun main(args: Array<String>) { $END$ }">
|
||||||
<context>
|
<context>
|
||||||
<option name="KOTLIN_TOPLEVEL" value="true" />
|
<option name="KOTLIN_TOPLEVEL" value="true" />
|
||||||
</context>
|
</context>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
||||||
name="maino" toReformat="true" toShortenFQNames="true"
|
name="maino" toReformat="true" toShortenFQNames="true"
|
||||||
value="@JvmStatic fun main(args : Array<String>) { $END$ }">
|
value="@JvmStatic fun main(args: Array<String>) { $END$ }">
|
||||||
<context>
|
<context>
|
||||||
<option name="KOTLIN_OBJECT_DECLARATION" value="true" />
|
<option name="KOTLIN_OBJECT_DECLARATION" value="true" />
|
||||||
</context>
|
</context>
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
<!-- Synonym for main -->
|
<!-- Synonym for main -->
|
||||||
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
||||||
name="psvm" toReformat="true" toShortenFQNames="true"
|
name="psvm" toReformat="true" toShortenFQNames="true"
|
||||||
value="fun main(args : Array<String>) { $END$ }">
|
value="fun main(args: Array<String>) { $END$ }">
|
||||||
<context>
|
<context>
|
||||||
<option name="KOTLIN_TOPLEVEL" value="true" />
|
<option name="KOTLIN_TOPLEVEL" value="true" />
|
||||||
</context>
|
</context>
|
||||||
@@ -207,7 +207,7 @@
|
|||||||
|
|
||||||
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
<template resource-bundle="org.jetbrains.kotlin.idea.KotlinBundle" key="livetemplate.description.main"
|
||||||
name="psvmo" toReformat="true" toShortenFQNames="true"
|
name="psvmo" toReformat="true" toShortenFQNames="true"
|
||||||
value="@JvmStatic fun main(args : Array<String>) { $END$ }">
|
value="@JvmStatic fun main(args: Array<String>) { $END$ }">
|
||||||
<context>
|
<context>
|
||||||
<option name="KOTLIN_OBJECT_DECLARATION" value="true" />
|
<option name="KOTLIN_OBJECT_DECLARATION" value="true" />
|
||||||
</context>
|
</context>
|
||||||
|
|||||||
Reference in New Issue
Block a user