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
Fantomas (vNext - 3.3.0-2/28/2020) keeps adding newline every time you format. Pasting the formatted code back again into the editor and formatting again will add yet more spaces.
Code
openXunitopenFSharp.CoreopenSwensen.UnquotetypeFormattingSpecs()=[<Fact>]let``true is true``()= test <@true=true@>[<Fact>]let``false is false``()= test <@false=false@>
Result (notice extra lines between functions)
openXunitopenFSharp.CoreopenSwensen.UnquotetypeFormattingSpecs()=[<Fact>]let``true is true``()= test <@true=true@>[<Fact>]let``false is false``()= test <@false=false@>
Options
Fantomas Next - 3.3.0-2/28/2020
Name
Value
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
SpaceBeforeSemicolon
false
StrictMode
false
The text was updated successfully, but these errors were encountered:
nojaf
added a commit
to nojaf/fantomas
that referenced
this issue
Mar 6, 2020
Issue created from fantomas-ui
Fantomas (vNext - 3.3.0-2/28/2020) keeps adding newline every time you format. Pasting the formatted code back again into the editor and formatting again will add yet more spaces.
Code
Result (notice extra lines between functions)
Options
Fantomas Next - 3.3.0-2/28/2020
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
SpaceBeforeSemicolon
false
StrictMode
false
The text was updated successfully, but these errors were encountered: