Add parameter name comment to method calls in Java


For example, I have

foo("hello", null, 0, false)

which I want to convert into

foo(/*a =*/ "hello", /*b =*/ null, /*c =*/ 0, /*d =*/ false)

Also, when method calls are written in this form, I'd not like to see parameter hints.


Can you please help me how to configure this?

1 comment
Comment actions Permalink

There is no such feature in IntelliJ IDEA. One can probably create a plug-in for that.


Please sign in to leave a comment.