Fantomas.Core 6.0.0-beta-001

This is a prerelease version of Fantomas.Core.
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fantomas.Core" Version="6.0.0-beta-001" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fantomas.Core" Version="6.0.0-beta-001" />
                    
Directory.Packages.props
<PackageReference Include="Fantomas.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fantomas.Core --version 6.0.0-beta-001
                    
#r "nuget: Fantomas.Core, 6.0.0-beta-001"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fantomas.Core@6.0.0-beta-001
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fantomas.Core&version=6.0.0-beta-001&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fantomas.Core&version=6.0.0-beta-001&prerelease
                    
Install as a Cake Tool

Fantomas

Fantomas logo

GitHub Workflow Status (event) Discord Nuget (with prereleases)

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

### 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)