Skip to content

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented May 30, 2022

There was a clash between recently integrated formatting, which increased fsharp_max_if_then_else_short_width, and the FSharp.Core formatting.

I'm using this to fix the build in main and make the settings for formatting FSharp.Core tighter, i.e. use more blank lines, line width 120 (not 140, currently used by the compiler). These are better defaults for code that can end up the result of GotToDefinition etc. in the F# user experience.

@vzarytovskii vzarytovskii merged commit 5b1a3ae into dotnet:main May 31, 2022
KevinRansom pushed a commit that referenced this pull request May 31, 2022
* update fantomas (#13206)

* Format most of FSharp.Core (#13150)

* modify fantomasignore

* fix setting

* no single line functions in FSHarp.Core

* update fantomas

* apply formatting

* Format src/Compiler/Driver (#13195)

* adjust settings

* adjust code

* adjust settings

* adjust code

* fix code before formatting

* remove unnecessary yield

* manual pre-formatting

* preadjust code

* preadjust code

* preadjust code

* preadjust code

* adjust settings"

* adjust settings"

* adjust settings

* adjust settings

* fix build

* adjust settings

* adjust code

* adjust code

* adjust code

* update fantomas

* apply formatting

* apply formatting (fix build) (#13209)

* preformat

* apply formatting

Co-authored-by: Don Syme <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants