maven-site icon indicating copy to clipboard operation
maven-site copied to clipboard

Example alignment for methods arguments

Open slawekjaranowski opened this issue 3 years ago • 2 comments
trafficstars

Current InteliJ formater - format code in this way - is it correct?

Examples are more clear than words ;-)

slawekjaranowski avatar Feb 19 '22 17:02 slawekjaranowski

Which color do you want to paint the bikeshed? :-)

I prefer option 2 (consistent indent) but doing this two different ways for calls and declarations is too confusing. Pick one, or just don't bother with this at all.

Agree here, formatting in methodNext() almost everywhere in the code aligns to the column and not 8 spaces.

michael-o avatar Feb 19 '22 21:02 michael-o

fixed, in both case arguments are aligned

slawekjaranowski avatar Feb 20 '22 08:02 slawekjaranowski

ok, we are working on new tools for formatting ... so I close it now

slawekjaranowski avatar Oct 28 '22 12:10 slawekjaranowski