-
Notifications
You must be signed in to change notification settings - Fork 832
Closed
Labels
Contributor PainEngineeringTheme-Simple-F#A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.
Description
We should adopt and use the Fantomas code formatting tool step by step in this repo
- trial on a small part of the repo, e.g. test projects
- decide some reasonable Fantomas settings (e.g. an initial line width of 160 or 180 may make sense given the long lines used historically, especially in src\fsharp)
- apply file by file, folder by folder
- automate the application somehow, either an occasional job in CI, or as part of code check-in
This may be gated on updates to Fantomas
Separately we can make Fantomas available as the formatting action in the Visual F# tools
One reason this is on my mind is that I've been revising the F# code formatting guide today and checking step by step that the Fantomas code formatter aligns with the style guide. dotnet/docs#25972
vzarytovskii, NinoFloris, Evangelink, xperiandri, stackedsax and 3 morenojaf, jgiannuzzi, marcin-krystianc, xperiandri, stackedsax and 1 more
Metadata
Metadata
Assignees
Labels
Contributor PainEngineeringTheme-Simple-F#A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.
Type
Projects
Status
Done