method parameter list - how to switch between single- and multiline?
Answered
Hi,
I'm sure I just didn't find the magic keystroke combo yet...
I simply want to switch by keystroke between following basic formattings.
void someMethod(Class a, Class b, Class c) {...} //singleline
and
void someMethod( //multiline
Class a,
Class b,
Class c
) {...}
Same goes for method invocations, array initialization etc.
I'm putting this in the IntelliJ topic, but I guess this is (should be) a general feature in all products.
Please sign in to leave a comment.
Settings | Editor | Code style | Java | Method declaration parameters -set to wrap always.