csharpier
csharpier copied to clipboard
InvocationExpression + VariableDeclaration - prefer breaking to new line before breaking parameters
This is more of a nice to have. Prettier currently doesn't deal with this.
var someVariable___________________________ = CallSomeMethod(
someLongValue,
someOtherLongValue
);
// should prefer to break this way if possible
var someVariable___________________________ =
CallSomeMethod(someLongValue, someOtherLongValue);
// but will break this way if the InvocationGetsTooLong
var someVariable = CallSomeMethodLongMethod(
someLongValue,
someOtherLongValue,
someOtherReallyLongValue,
andAnother
);