Fantomas.Core
6.2.0
See the version list below for details.
dotnet add package Fantomas.Core --version 6.2.0
NuGet\Install-Package Fantomas.Core -Version 6.2.0
<PackageReference Include="Fantomas.Core" Version="6.2.0" />
<PackageVersion Include="Fantomas.Core" Version="6.2.0" />
<PackageReference Include="Fantomas.Core" />
paket add Fantomas.Core --version 6.2.0
#r "nuget: Fantomas.Core, 6.2.0"
#:package Fantomas.Core@6.2.0
#addin nuget:?package=Fantomas.Core&version=6.2.0
#tool nuget:?package=Fantomas.Core&version=6.2.0
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.2.0)
- FSharp.Core (>= 6.0.1)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Fantomas.Core:
| Package | Downloads |
|---|---|
|
Myriad.Core
Core Myriad library used for developing plugins |
|
|
Fantomas.Extras
Utility package for Fantomas |
|
|
Fabulous.AST
Fabulous.AST, an Abstract Syntax Tree (AST) Domain Specific Language (DSL) for F#. |
|
|
WoofWare.Whippet.Fantomas
Helpers for accessing Fantomas syntax trees. |
|
|
MigLib
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-alpha-012 | 96 | 4/16/2026 |
| 8.0.0-alpha-011 | 92 | 4/15/2026 |
| 8.0.0-alpha-010 | 90 | 4/15/2026 |
| 8.0.0-alpha-009 | 101 | 4/3/2026 |
| 8.0.0-alpha-008 | 115 | 3/25/2026 |
| 8.0.0-alpha-007 | 103 | 3/10/2026 |
| 8.0.0-alpha-006 | 100 | 3/9/2026 |
| 8.0.0-alpha-005 | 97 | 3/9/2026 |
| 8.0.0-alpha-004 | 95 | 3/7/2026 |
| 8.0.0-alpha-003 | 98 | 3/3/2026 |
| 8.0.0-alpha-002 | 3,299 | 12/15/2025 |
| 8.0.0-alpha-001 | 151 | 12/12/2025 |
| 7.0.5 | 6,302 | 12/5/2025 |
| 7.0.4 | 244 | 12/5/2025 |
| 7.0.3 | 12,899 | 7/4/2025 |
| 7.0.2 | 901 | 5/28/2025 |
| 7.0.1 | 5,789 | 2/21/2025 |
| 7.0.0 | 1,803 | 1/10/2025 |
| 7.0.0-beta-001 | 204 | 12/30/2024 |
| 6.2.0 | 7,240 | 8/29/2023 |
### Added
* * Initial support for `SynExpr.DotLambda` [#2920](https://github.com/fsprojects/fantomas/pull/2920) (See [dotnet/fsharp#13907](https://github.com/dotnet/fsharp/pull/13907))
* * Initial support for `SynType.Intersection` [#2920](https://github.com/fsprojects/fantomas/pull/2920) (See [dotnet/fsharp#15413](https://github.com/dotnet/fsharp/pull/15413))
### Changed
* * Update FCS to 'Included get,set in range of AutoProperty', commit d508186f510681d1261291474e3f9f25485999a8
* * Update FCS to 'Add a Paren case to SynRationalConst', commit 97a5b6584b54707e3e8541fe758e1aa22132a8fe
### Fixed
* * Comment no longer attached to autoproperty. [#2948](https://github.com/fsprojects/fantomas/issues/2948)
* * `begin`/`end` are replaced with parens. [#2368](https://github.com/fsprojects/fantomas/issues/2368)
* * Block comment in Rational between lparen and numerator is moved before lparen. [#2930](https://github.com/fsprojects/fantomas/issues/2930)
* * Block comment in Rational between / and denominator is moved before /. [#2932](https://github.com/fsprojects/fantomas/issues/2932)
* * Block comment in Rational between denominator and rparen is moved behind rparen. [#2933](https://github.com/fsprojects/fantomas/issues/2933)