Fantomas.Core
6.0.0-beta-001
See the version list below for details.
dotnet add package Fantomas.Core --version 6.0.0-beta-001
NuGet\Install-Package Fantomas.Core -Version 6.0.0-beta-001
<PackageReference Include="Fantomas.Core" Version="6.0.0-beta-001" />
<PackageVersion Include="Fantomas.Core" Version="6.0.0-beta-001" />
<PackageReference Include="Fantomas.Core" />
paket add Fantomas.Core --version 6.0.0-beta-001
#r "nuget: Fantomas.Core, 6.0.0-beta-001"
#:package Fantomas.Core@6.0.0-beta-001
#addin nuget:?package=Fantomas.Core&version=6.0.0-beta-001&prerelease
#tool nuget:?package=Fantomas.Core&version=6.0.0-beta-001&prerelease
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
- Fantomas.FCS (>= 6.0.0-beta-001)
- FSharp.Core (>= 6.0.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Fantomas.Core:
| Package | Downloads |
|---|---|
|
Fantomas.Extras
Utility package for Fantomas |
|
|
Myriad.Core
Core Myriad library used for developing plugins |
|
|
Fabulous.AST
Fabulous.AST, an Abstract Syntax Tree (AST) Domain Specific Language (DSL) for F#. |
|
|
WoofWare.Whippet.Fantomas
Helpers for accessing Fantomas syntax trees. |
|
|
Partas.Feliz.Generator
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-alpha-002 | 248 | 12/15/2025 |
| 8.0.0-alpha-001 | 123 | 12/12/2025 |
| 7.0.5 | 1,226 | 12/5/2025 |
| 7.0.4 | 202 | 12/5/2025 |
| 7.0.3 | 8,807 | 7/4/2025 |
| 7.0.2 | 860 | 5/28/2025 |
| 7.0.1 | 4,526 | 2/21/2025 |
| 7.0.0 | 1,641 | 1/10/2025 |
| 7.0.0-beta-001 | 181 | 12/30/2024 |
| 7.0.0-alpha-004 | 175 | 12/12/2024 |
| 7.0.0-alpha-003 | 189 | 11/29/2024 |
| 7.0.0-alpha-002 | 154 | 11/2/2024 |
| 7.0.0-alpha-001 | 230 | 9/16/2024 |
| 6.3.16 | 3,841 | 10/29/2024 |
| 6.3.15 | 16,094 | 9/14/2024 |
| 6.3.14 | 274 | 9/14/2024 |
| 6.3.13 | 289 | 9/10/2024 |
| 6.3.12 | 414 | 9/5/2024 |
| 6.3.11 | 876 | 8/16/2024 |
| 6.0.0-beta-001 | 488 | 4/5/2023 |
### Changed
* * Update FCS to 'Add parser recovery for incomplete named pat pair', commit ba6647ebf5b94823c4d6fafd1e7d5f806d915ee0
### Fixed
* * If then expression inside object instantiation breaks when formatted. [#2819](https://github.com/fsprojects/fantomas/pull/2819)
* * fsharp_space_before_colon not honored for return type info of explicit get, set. [#2825](https://github.com/fsprojects/fantomas/pull/2825)
* * Fantomas is trying to format the input multiple times due to the detection of multiple defines. [#2822](https://github.com/fsprojects/fantomas/pull/2822)