Can IDEA pass dummy arguments to constructor calls?
Answered
Assuming that I have this POJO with a full-args constructor:
public class Foo {
String x;
int y;
double z;
}
Is there a shortcut key to generate constructor calls like this:
Foo f = new Foo("x", 0, 0.0);
?
Please sign in to leave a comment.
Hello,
Unfortunately there is no such tool to generate the constructor call with the default parameters. Please feel free to create the feature request for it in our bug tracker: https://youtrack.jetbrains.com/issues/IDEA
Thank you