Closed vagran closed 2 years ago
That's odd. I'll see if I can reproduce as soon as I have some free time.
I am also facing this issue. There is a bug on the Kotlin plugin's issue tracker that references this same behavior. https://youtrack.jetbrains.com/issue/KTIJ-631
I suspect this may be fixed by 1.20 which will be released today. Please reopen if this is not the case.
This plugin somehow affects editing Kotlin files. The issue exists only when the plugin is enabled. Type in some Kotlin file some expression with lambda last argument, e.g.
When
{
is typed,}
is auto inserted, the cursor is between braces: Then pressing enter inserts two new lines instead of one:Plugin version 1.19 IntelliJ IDEA 2020.3 (Ultimate Edition) Build #IU-203.5981.155, built on December 1, 2020