Fantomas.FCS
5.0.5
See the version list below for details.
dotnet add package Fantomas.FCS --version 5.0.5
NuGet\Install-Package Fantomas.FCS -Version 5.0.5
<PackageReference Include="Fantomas.FCS" Version="5.0.5" />
<PackageVersion Include="Fantomas.FCS" Version="5.0.5" />
<PackageReference Include="Fantomas.FCS" />
paket add Fantomas.FCS --version 5.0.5
#r "nuget: Fantomas.FCS, 5.0.5"
#:package Fantomas.FCS@5.0.5
#addin nuget:?package=Fantomas.FCS&version=5.0.5
#tool nuget:?package=Fantomas.FCS&version=5.0.5
Fantomas

F# source code formatter, inspired by scalariform for Scala, ocp-indent for OCaml and PythonTidy for Python.
dotnet tool install fantomas
Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html
Contributing Guidelines
See the Contribution Guidelines and our contributors documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 6.0.1)
- FsLexYacc (= 10.2.0)
- System.Memory (>= 4.5.4)
- System.Runtime (>= 4.3.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Fantomas.FCS:
| Package | Downloads |
|---|---|
|
Fantomas.Core
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. |
|
|
WoofWare.Whippet.Fantomas
Helpers for accessing Fantomas syntax trees. |
|
|
WoofWare.Expect
Snapshot/expect testing framework for F# |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-alpha-003 | 119 | 3/3/2026 |
| 8.0.0-alpha-002 | 1,917 | 12/15/2025 |
| 8.0.0-alpha-001 | 180 | 12/12/2025 |
| 7.0.5 | 2,211 | 12/5/2025 |
| 7.0.4 | 242 | 12/5/2025 |
| 7.0.3 | 13,799 | 7/4/2025 |
| 7.0.2 | 901 | 5/28/2025 |
| 7.0.1 | 4,717 | 2/21/2025 |
| 7.0.0 | 1,834 | 1/10/2025 |
| 7.0.0-beta-001 | 208 | 12/30/2024 |
| 7.0.0-alpha-004 | 233 | 12/12/2024 |
| 7.0.0-alpha-003 | 204 | 11/29/2024 |
| 7.0.0-alpha-002 | 214 | 11/2/2024 |
| 7.0.0-alpha-001 | 263 | 9/16/2024 |
| 6.3.16 | 3,990 | 10/29/2024 |
| 6.3.15 | 16,215 | 9/14/2024 |
| 6.3.14 | 325 | 9/14/2024 |
| 6.3.13 | 355 | 9/10/2024 |
| 6.3.12 | 476 | 9/5/2024 |
| 5.0.5 | 1,069 | 10/7/2022 |
### Fixed
* * Function lambda with type annotation breaks code. [#2295](https://github.com/fsprojects/fantomas/issues/2295)
* * Incorrect scope chosen for trivia, hence comments lost. [#2535](https://github.com/fsprojects/fantomas/issues/2535)