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

I'm using version 2022.3.3 and it doesn't work anymore

lyang0932 opened this issue · comments

commented

I'm using version 2022.3.3 and it doesn't work anymore

image

image

image

@lyang0932 Thanks for reporting.

First, please let me know if it is applicable the following two cases.

  1. Is the constructor or function implemented in Java, not Kotlin?
  2. Does the constructor or function have any overloads?

If applicable, this plugin will not work.
(In case 1, because Kotlin's named argument feature does not work; in case 2, because the information of the parameter to be filled is not uniquely determined.)

Could you please check if it works with the following classes and functions?

data class A(val foo: String)

fun main() {
    A(/* try at here */)
}

Duplicate of #86