Closed felixhao28 closed 8 years ago
the code is always formatted the way you expect with the default settings.
the space between }
and else
is handled by whiteSpace.after.IfStatementClosingBrace
, try esformatter --whiteSpace.after.IfStatementClosingBrace=1
and esformatter --whiteSpace.after.IfStatementClosingBrace=0
to see the difference in the behavior.
Is there a way to configure esformatter to format this:
into
I read your code and it does not seem to handle that specific space.