when a parameter list grows in size, formating is adjusted. to prevent source text from flowing beyond the right margin.
I'll use the example below to elucidate what I think could be improved:
In the first example on lines 818-821 each parm is on a line.
In the second example on lines 822-825, the parm is longer, but still (barely) within the border.
In the third example on lines 826-830, we've crossed the right margin. Toad moves the parms further to the left so that each parm still fits on a line by itself.
In the fourth example on lines 834-840 the parameter has become too long for this technique to work, so the p_message parameter is broken down and now occupies multiple rows.
The only thing that I personally would like to see improved is this: in the fourthe example, the parameters are still aligned to the left, even though there is no longer any reason to do so.
I would have preferred the parameters to be moved back to the right to align with the opening paranthesis. Like this:
Would it be possible to adjust formatter behaviour to format like this whenever possible?
Please note that examples three and four are very different from a formatting perspective.
I can live with example three as it is, even though I would have preferred to have an option to request the formatter to format it just like example four.
Still the code in example four is the bigger issue: it can be aligned with the opening parenthesis of the parmlist, yet it isn't.