What is Fantomas?
- An opinionated code formatter for F#
- Integrates with most editors
- Implements the F# community style guide
- No need to discuss style in code review
- Cleaner source control diffs
- Peace of mind
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
It's like playing jazz
As a maintainer, Fantomas makes it easy to contribute to my projects - I no longer have to care about spacing or style, Fantomas handles it for me!
Fantomas is the next big thing in the F# ecosystem. Not only does it eliminate the duty for code formatting during typing, but it also integrates into the CI pipeline and automatically check the formatting for you.
Who uses Fantomas?
Say Hello to Fantomas 5
A blogpost about migrating to Fantomas V5Read blogpost
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
A blogpost about how to use a custom version of Fantomas in your editor.Read blogpost
World domination, part one
A blogpost about the V5 improvementsRead blogpost
Formatting your code the easy way
A blogpost by Isaac Abraham from Compositional IT.Read blogpost
A word on triple-slash comments
A blogpost about the importance of triple-slash commentsRead blogpost