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

Android Studio 3.6 issue

natiginfo opened this issue · comments

Plugin behaves differently after Android Studio 3.6:

Before AS 3.6 update:

data class Address(val postCode: String, val street: String, val city: String, val country: String)

data class User(val fullName: String, val address: Address)

fun createUser(): User {
    // I use fill class plugin:
    return User(
        fullName = "",
        address = 
    )
}

After AS 3.6 update:

data class Address(val postCode: String, val street: String, val city: String, val country: String)

data class User(val fullName: String, val address: Address)

fun createUser(): User {
    return User(
        fullName = "",
        // I use fill class plugin:
        address = Address(
            postCode = "",
            street = "",
            city = "",
            country = ""
        )
    )
}

@natiginfo
That behavior is intended.
#19