I know CTRL+ SHIFT + F for formatting method but it gives 3-4 parameters in line. I want one parameter in one line
foe eg:
method(a,b,c,d,e,f)
I want below result
method(a,
b,
c,
d,
e,
f)
Go to Source | Format Document or press Ctrl+Shift+F.
This is an option in Eclipse formatter.
Window > Preferences
Java > Code Style > Formatter
Method Declaration > Parameters
or Function Calls > Arguments
Wrap all elements, every element on a new line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With