What is Fantomas?
- An opinionated code formatter for F#
- Integrates with most editors
- Implements the F# community style guide
Why?
- No need to discuss style in code review
- Cleaner source control diffs
- Peace of mind
Get started
Install Fantomas as .NET tool
dotnet tool install fantomas
The easiest way to get started is to install Fantomas as a local .NET tool.
Check out our documentation for more details.
What people say about Fantomas
Who uses Fantomas?
Sponsors
Enterprise sponsors
Community sponsors
Media
Hey folks! We will be hosting a #fantomas #v5 release party 🥳🎉 on Discord on Friday, September 16th.
— Florian Verdonck (@verdonckflorian) August 23, 2022
#fsharp
Yesterday I had a blast during the @FSharpLondon meetup! Thanks again for having me! I wrote a blog post that captures some of the story beats from yesterday https://t.co/ViCkmmMSci. I'm really happy how Fantomas v5 is shaping up😊 #fsharp https://t.co/83bjAp9ody
— Florian Verdonck (@verdonckflorian) May 24, 2022
Fantomas Daemon
A blogpost about how to use a custom version of Fantomas in your editor.
Read blogpostHi #fsharp, for the next major release, I'd like to go with a new logo for Fantomas.
— Florian Verdonck (@verdonckflorian) April 20, 2022
Cast your vote on https://t.co/7akdM6lgrO
A word on triple-slash comments
A blogpost about the importance of triple-slash comments
Read blogpostAutomatic code formatting using Fantomas (https://t.co/R5SHSjfucF) is now applied to (nearly) all signature files under "src", you format code using
— Don Syme (@dsymetweets) May 11, 2022
dotnet fantomas etc -r
For example the primary syntax tree file: https://t.co/BBQFGEH2VM