Hi all,
I would like to invoke the code formatter when I save a file, but I'm
running into one annoyance I can't seem to work around. I want to
format method parameters manually, e.g.
void myMethod(int a, int b,
int c, double d) {
...
}
but Eclipse 3.3 won't let me. If I have the formatter on, it insists
on unwrapping the declaration to
void myMethod(int a, int b, int c, double d) {
...
}
and rewrapping if that violates the line length. This is with the
relevant formatter preference set to no wrapping; any of the other
wrapping options wraps it differently, but not the way I want.
The smart money says I'm missing something. Is there a way to tell
the code formatter to ignore parameter lists when formatting the code,
or a way to insert a "hard" line break that is inviolable?
TIA,
Paul