KT-31553 Complete Statement: Wrong auto-insertion of closing curly brace for a code block (#2378)

* Complete statement: wrap property initializer by run/when block

#KT-31553 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-09-25 23:04:03 +09:00
committed by GitHub
parent 14bdcb1e26
commit 37ba9eccc4
13 changed files with 313 additions and 0 deletions
+2
View File
@@ -79,6 +79,8 @@
id="KotlinEnterHandler" order="before EnterBetweenBracesHandler"/>
<enterHandlerDelegate implementation="org.jetbrains.kotlin.idea.editor.KotlinMultilineStringEnterHandler"
id="KotlinMultilineStringEnterHandler" order="before EnterBetweenBracesHandler"/>
<enterHandlerDelegate implementation="org.jetbrains.kotlin.idea.editor.KotlinEnterAfterUnmatchedBraceHandler"
id="KotlinEnterAfterUnmatchedBraceHandler" order="before afterUnmatchedBrace"/>
<enterBetweenBracesDelegate language="kotlin"
implementationClass="org.jetbrains.kotlin.idea.editor.EnterBetweenBracesAndBracketsNoCommitDelegate"/>
<lang.smartEnterProcessor language="kotlin" implementationClass="org.jetbrains.kotlin.idea.editor.KotlinSmartEnterHandler"/>