F# source code formatter

Quickstart Try Online!
Nuget Shield

FANTOMAS

What is Fantomas?

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

Media

Say Hello to Fantomas 5

A blogpost about migrating to Fantomas V5

Read blogpost
Fantomas Daemon

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 improvements

Read blogpost
Formatting your code the easy way

A blogpost by Isaac Abraham from Compositional IT.

Read blogpost
Custom Ranges
Watch on YouTube
A word on triple-slash comments

A blogpost about the importance of triple-slash comments

Read blogpost
Join us on Discord Discord image link