You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should not be a newline between the record and the members (unless that setting is set to true).
Code
typeShortExpressionInfo={ MaxWidth:int
StartColumn:int
ConfirmedMultiline:bool }memberx.IsTooLong maxPageWidth currentColumn =
currentColumn - x.StartColumn > x.MaxWidth // expression is not too long according to MaxWidth||(currentColumn > maxPageWidth)// expression at current position is not going over the page width
Result
typeShortExpressionInfo={ MaxWidth:int
StartColumn:int
ConfirmedMultiline:bool }memberx.IsTooLong maxPageWidth currentColumn =
currentColumn
- x.StartColumn > x.MaxWidth // expression is not too long according to MaxWidth||(currentColumn > maxPageWidth)// expression at current position is not going over the page width
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
Name
Value
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
StrictMode
false
The text was updated successfully, but these errors were encountered:
nojaf
added a commit
to nojaf/fantomas
that referenced
this issue
Apr 24, 2020
Issue created from fantomas-online
There should not be a newline between the record and the members (unless that setting is set to true).
Code
Result
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
StrictMode
false
The text was updated successfully, but these errors were encountered: