suusan2go / kotlin-fill-class

Intellij plugin that provides intention action for empty constructor

Home Page:https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't add trailing comma if last argument is trailing lambda

oboenikui opened this issue · comments

Input

listOf("").joinToString(<caret>) {  }

Expected

listOf("").joinToString(
    separator = "",
    prefix = "",
    postfix = "",
    limit = 0,
    truncated = "",
) {  }

Actual

listOf("").joinToString(
    separator = "",
    prefix = "",
    postfix = "",
    limit = 0,
    truncated = ""
), {  }