method parameter list - how to switch between single- and multiline?
已回答
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.
请先登录再写评论。
Settings | Editor | Code style | Java | Method declaration parameters -set to wrap always.