Skip to main content
Fantomas.FCS package icon

Fantomas.FCS

This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include: (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures.

Total Downloads
252.6K
252,613
Published
Dec 5, 2025
Latest stable version

Install

.NET CLI
dotnet add package Fantomas.FCS --version 7.0.5
Package Manager Console
Install-Package Fantomas.FCS -Version 7.0.5
PackageReference
<PackageReference Include="Fantomas.FCS" Version="7.0.5" />

Frameworks

.NETStandard2.0

Dependencies

FSharp.Core
.NETStandard2.0
[8.0.100, )
[8.0.0, )
[8.0.1, )
System.Memory
.NETStandard2.0
[4.6.0, )
System.Runtime
.NETStandard2.0
[4.3.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.