Fantomas.Core
6.2.0
Prefix Reserved
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 (8)
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 |
|
|
WoofWare.Whippet.Fantomas
Helpers for accessing Fantomas syntax trees. |
|
|
Fabulous.AST
Fabulous.AST, an Abstract Syntax Tree (AST) Domain Specific Language (DSL) for F#. |
|
|
Morphir
Morphir executable package for AOT and single-file deployments |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.0-alpha-002 | 96 | 10/21/2026 |
| 9.0.0-alpha-001 | 110 | 10/15/2026 |
| 8.1.1 | 237 | 11/3/2026 |
| 8.1.0 | 753 | 10/21/2026 |
| 8.0.10 | 890 | 10/14/2026 |
| 8.0.9 | 103 | 10/14/2026 |
| 8.0.8 | 147 | 10/9/2026 |
| 8.0.7 | 246 | 10/5/2026 |
| 8.0.6 | 149 | 10/1/2026 |
| 8.0.5 | 251 | 9/25/2026 |
| 8.0.4 | 159 | 9/23/2026 |
| 8.0.3 | 139 | 9/23/2026 |
| 8.0.2 | 420 | 9/22/2026 |
| 8.0.1 | 148 | 9/21/2026 |
| 8.0.0 | 295 | 9/15/2026 |
| 8.0.0-beta-003 | 110 | 9/12/2026 |
| 8.0.0-beta-002 | 117 | 9/8/2026 |
| 8.0.0-beta-001 | 147 | 9/1/2026 |
| 8.0.0-alpha-026 | 178 | 8/29/2026 |
| 6.2.0 | 7,413 | 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)