Open MichiFr opened 1 month ago
Hi Michael,
interesting example, thanks! This happens because of the following option:
With that, one-liners are kept, because they are often nicely readable (IMHO, your original code is almost perfect as it is). If you change the setting to "never", you will get the expected result:
The problem here is that the inner parenthesis of ipow( base = ... exp = ... )
is not a table row, so "Align parameters and components" first moves the exp parameter to the second line; then the outer parentheses aren't on a single line anymore – except for the first line – so their parameters get aligned, too.
So, it's not a defect, but the result doesn't look well, either. Hm …
Kind regards, Jörg-Michael
Thanks for reading and your explanation!
I've changed the mentioned option and it looks good now !
You can close this ticket if you want!
Michael
Hi
I've got this coding below. Note: The type and class-data declaration is given for convenience and for testing purposes only and not part of this ticket.
Which gets formatted with option "Align parameters and components" to the source below.
Any reason why the first line does not get any line breaks for its members: unit and label whereas all other do?
I would have expected this formatting for the first line in the original source.