Closed
Description
Issue created from fantomas-ui
This expression exceeds the MaxIfThenElseShortWidth setting but is still formatted on one line.
Code
if longExpressionMakingTheIfElseMultiline then answerWhenTheConditionIsTrue else answerWhenTheConditionIsFalse
Result
if longExpressionMakingTheIfElseMultiline then answerWhenTheConditionIsTrue else answerWhenTheConditionIsFalse
Options
Fantomas Next - 3.3.0-3/26/2020
Name | Value |
---|---|
IndentOnTryWith |
false |
IndentSpaceNum |
4 |
KeepNewlineAfter |
false |
MaxIfThenElseShortWidth |
40 |
PageWidth |
120 |
ReorderOpenDeclaration |
false |
SemicolonAtEndOfLine |
false |
SpaceAfterComma |
true |
SpaceAfterSemicolon |
true |
SpaceAroundDelimiter |
true |
SpaceBeforeClassConstructor |
false |
SpaceBeforeColon |
false |
SpaceBeforeLowercaseInvocation |
true |
SpaceBeforeMember |
false |
SpaceBeforeParameter |
true |
SpaceBeforeSemicolon |
false |
SpaceBeforeUppercaseInvocation |
false |
StrictMode |
false |
Metadata
Assignees
Labels
No labels