# FANTOMAS

## 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

Copy to clipboard

`

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

##### Don Syme

Language designer for F#

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!

##### Chet Husk

F# community hero

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.

##### Sergey Tihon

editor of the F# weekly newsletter

## Who uses Fantomas?

dotnet/fsharp

darklang/dark

fsharp/FsAutoComplete

fsprojects/Fantomas

fsprojects/Fabulous

fsprojects/FSharp.Data

TheAngryByrd/MiniScaffold

CompositionalIT/farmer

plotly/Plotly.NET

Pluralsight

fsprojects/FAKE

fsprojects/FsHttp

fable-compiler/fable

Your logo here?

## Sponsors

### Enterprise sponsors

### Community sponsors

- Tiny Blue Robots
- Tomas Leko
- Zhenyong Zhu
- Sergey Tihon
- NicoVIII
- Phillip Carter
- G-Research-OSS
- Edgar Gonzalez
- Onur Gumus

## Media

##### Fantomas 6: The Legendary Formatter

What is new in Fantomas v6!

Read blogpost

##### Say Hello to Fantomas 5

A blogpost about migrating to Fantomas V5

Read blogpost

> Hey folks! We will be hosting a #fantomas #v5 release party 🥳🎉 on Discord on Friday, September 16th.
> #fsharp

> — Florian Verdonck (@verdonckflorian) August 23, 2022

> 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 blogpost

##### World domination, part one

A blogpost about the V5 improvements

Read blogpost

##### Daemon

Watch on YouTube

> Hi #fsharp, for the next major release, I'd like to go with a new logo for Fantomas.
> Cast your vote on https://t.co/7akdM6lgrO

> — Florian Verdonck (@verdonckflorian) April 20, 2022

##### 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

> Automatic code formatting using Fantomas (https://t.co/R5SHSjfucF) is now applied to (nearly) all signature files under "src", you format code using
> dotnet fantomas etc -r
> For example the primary syntax tree file: https://t.co/BBQFGEH2VM

> — Don Syme (@dsymetweets) May 11, 2022

Join us on Discord