-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust default configuration to be more F# idiomatic #61
Comments
Should we also have a SpaceAfterColon? Or maybe just SpacesAroundColon to control both? And should those options be global? There's at least 4 different situations I can think of where the colon is used, and I don't think they all fit under the same setting:
|
[I responded a few hours ago, but my comment disappeared]
If we use
How do we deal with locality? We may split options into categories e.g.
To be honest, I'm still puzzled about this option. |
My desire is to have something like this https://github.com/icsharpcode/NRefactory/blob/master/ICSharpCode.NRefactory.CSharp/Formatter/FormattingOptionsFactory.cs#L46 where there are at least a few idiomatic styles to choose from. Unfortunately there is no such style in F# (and functional programming) yet. |
PageWidth is now 120 and SpaceBeforeColon is false, see FormatConfig. |
@dsyme's suggestions:
SpaceBeforeColon = false
by default.PageWidth = 120
.Steps to handle:
The text was updated successfully, but these errors were encountered: