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

An opinionated F# source code formatter.
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 (>= 8.0.0-alpha-009)
- FSharp.Core (>= 9.0.300)
- System.Collections.Immutable (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Memory (>= 4.6.0)
- System.Runtime (>= 4.3.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 | 31 | 4/16/2026 |
| 8.0.0-alpha-011 | 53 | 4/15/2026 |
| 8.0.0-alpha-010 | 52 | 4/15/2026 |
| 8.0.0-alpha-009 | 86 | 4/3/2026 |
| 8.0.0-alpha-008 | 99 | 3/25/2026 |
| 8.0.0-alpha-007 | 89 | 3/10/2026 |
| 8.0.0-alpha-006 | 82 | 3/9/2026 |
| 8.0.0-alpha-005 | 85 | 3/9/2026 |
| 8.0.0-alpha-004 | 81 | 3/7/2026 |
| 8.0.0-alpha-003 | 88 | 3/3/2026 |
| 8.0.0-alpha-002 | 3,011 | 12/15/2025 |
| 8.0.0-alpha-001 | 137 | 12/12/2025 |
| 7.0.5 | 4,656 | 12/5/2025 |
| 7.0.4 | 227 | 12/5/2025 |
| 7.0.3 | 11,526 | 7/4/2025 |
| 7.0.2 | 881 | 5/28/2025 |
| 7.0.1 | 5,588 | 2/21/2025 |
| 7.0.0 | 1,779 | 1/10/2025 |
| 7.0.0-beta-001 | 193 | 12/30/2024 |
| 7.0.0-alpha-004 | 185 | 12/12/2024 |
### Fixed
- Comment without code after it in the current scope should retain their "parent" indentation. [#2286](https://github.com/fsprojects/fantomas/issues/2286)
- Code comment after expression is assigned to parenthesis. [#1864](https://github.com/fsprojects/fantomas/issues/1864)
- Misaligned comment in MultiLineBlockBracket. [#1716](https://github.com/fsprojects/fantomas/issues/1716)
- Comment unindented after DU cases. [#2606](https://github.com/fsprojects/fantomas/issues/2606)
- Comment on last match case has wrong indentation. [#2653](https://github.com/fsprojects/fantomas/issues/2653)
- Commented line inside of record should be indented at the same level as the fields [#2482](https://github.com/fsprojects/fantomas/issues/2482)
- Unindentation of comment before end of computation expression. [#2476](https://github.com/fsprojects/fantomas/issues/2476)
- Comments lost the indented after formatting. [#2362](https://github.com/fsprojects/fantomas/issues/2362)
- Comments can be lost or shifted when at the end of expressions. [#932](https://github.com/fsprojects/fantomas/issues/932)
- Should not move the starting point of a single-line comment. [#1233](https://github.com/fsprojects/fantomas/issues/1233)