Formatting question.
Hello community,
Resharper has a nice code formatter with tons of options, I would like to ask pro's advice. I have the following code:
variable = obj.Method(
var1,
somebool1 &&
somebool2 &&
somebool3);
As you can see the statement is chopped and aligned fine, but it would be more logical to align it like:
variable = obj.Method(
var1,
somebool1 &&
somebool2 &&
somebool3);
I tried several options in Resharper formatter, but couldn't make it align like that. Does anybody know how to do this?
This fomatting rule should also produce something like:
variable = obj.Method(
var1,
somebool1 &&
somebool2 &&
somebool3,
var2,
somebool4 &&
somebool5 &&
somebool6);
Thanks.
Please sign in to leave a comment.
net_prog wrote:
Some for me.
--