Closed
Description
Issue created from fantomas-online
Code
longMethodName
longArgument
longArgument2
:?> List<bool>
Result
longMethodName
longArgument
longArgument2 :?> List<bool>
Problem description
Note that here I've collapsed the line length to something ridiculously small, so that my code sample would hit the line length limit. In our own code, we have a sensible line length and just some rather long lines.
The formatting we would prefer (analogously to how |>
works) is:
longMethodName
longArgument
longArgument2
:?> List<bool>
This is question 1 from issue #1189.
If you'd like us to enter this into the GR style guidelines, let me know and I'll do that. I think this :?>
placement seems pretty uncontroversial.
Extra information
- The formatted result breaks by code.
- The formatted result gives compiler warnings.
- I or my company would be willing to help fix this.
Options
Fantomas Master at 10/23/2020 14:47:21 - cda111e
{ config with
MaxLineLength = 30
SpaceBeforeUppercaseInvocation = true
SpaceBeforeColon = true
SpaceBeforeSemicolon = true
AlignFunctionSignatureToIndentation = true
AlternativeLongMemberDefinitions = true
DisableElmishSyntax = true }