feature request: turn parameters into named parameters

example

foo(a,b,c)
should be turned into
foo(apple = a, banana = b, citrusfruit = c)

since the plugin can already do it for boolean parameters, this shouldn't be hard to add. it is very useful for big case classes or methods with many parameters

3 comments
Comment actions Permalink

Hi, Dennis!
It's a good suggestion, I'll implement it. You can follow it here:
https://youtrack.jetbrains.com/issue/SCL-9177

0
Comment actions Permalink

Sorry, I didn't check, but it is already implemented quite a while ago. It can be invoked as an intention action on the argument list of a method call.

0
Comment actions Permalink

you're right :O
i never read the label because it was so long, that's why i missed it

0

Please sign in to leave a comment.