Fantomas.Core 5.1.0-alpha-005

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 5.1.0-alpha-005
                    
NuGet\Install-Package Fantomas.Core -Version 5.1.0-alpha-005
                    
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="5.1.0-alpha-005" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fantomas.Core" Version="5.1.0-alpha-005" />
                    
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 5.1.0-alpha-005
                    
#r "nuget: Fantomas.Core, 5.1.0-alpha-005"
                    
#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@5.1.0-alpha-005
                    
#: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=5.1.0-alpha-005&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fantomas.Core&version=5.1.0-alpha-005&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 (5)

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

WoofWare.Whippet.Fantomas

Helpers for accessing Fantomas syntax trees.

Fabulous.AST

Fabulous.AST, an Abstract Syntax Tree (AST) Domain Specific Language (DSL) for F#.

Partas.Feliz.Generator

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.5 108 12/5/2025
7.0.4 115 12/5/2025
7.0.3 5,119 7/4/2025
7.0.2 818 5/28/2025
7.0.1 3,512 2/21/2025
7.0.0 1,592 1/10/2025
7.0.0-beta-001 154 12/30/2024
7.0.0-alpha-004 156 12/12/2024
7.0.0-alpha-003 160 11/29/2024
7.0.0-alpha-002 136 11/2/2024
7.0.0-alpha-001 208 9/16/2024
6.3.16 3,705 10/29/2024
6.3.15 15,749 9/14/2024
6.3.14 239 9/14/2024
6.3.13 259 9/10/2024
6.3.12 388 9/5/2024
6.3.11 840 8/16/2024
6.3.10 1,170 7/12/2024
6.3.9 8,659 6/9/2024
6.3.8 256 6/6/2024
6.3.7 799 6/1/2024
6.3.6 238 6/1/2024
6.3.5 257 5/30/2024
6.3.4 2,170 4/16/2024
6.3.3 1,144 4/12/2024
6.3.2 234 4/12/2024
6.3.1 1,668 3/30/2024
6.3.0 725 3/15/2024
6.3.0-beta-001 194 3/7/2024
6.3.0-alpha-008 192 3/1/2024
6.3.0-alpha-007 194 1/27/2024
6.3.0-alpha-006 486 1/9/2024
6.3.0-alpha-005 164 12/22/2023
6.3.0-alpha-004 195 12/6/2023
6.3.0-alpha-003 1,811 11/15/2023
6.3.0-alpha-002 218 11/7/2023
6.3.0-alpha-001 193 11/3/2023
6.2.3 1,345 11/2/2023
6.2.2 18,548 10/18/2023
6.2.1 280 9/18/2023
6.2.0 7,113 8/29/2023
6.1.3 271 8/25/2023
6.1.2 346 7/23/2023
6.1.1 30,477 6/29/2023
6.1.0 306 6/28/2023
6.1.0-alpha-006 227 6/20/2023
6.1.0-alpha-005 245 6/20/2023
6.1.0-alpha-004 232 6/19/2023
6.1.0-alpha-003 341 6/2/2023
6.1.0-alpha-002 301 5/2/2023
6.1.0-alpha-001 258 5/2/2023
6.0.8 282 6/20/2023
6.0.7 288 6/20/2023
6.0.6 264 6/19/2023
6.0.5 11,485 6/6/2023
6.0.4 314 6/2/2023
6.0.3 337 5/14/2023
6.0.2 321 5/5/2023
6.0.1 379 4/19/2023
6.0.0 872 4/13/2023
6.0.0-beta-001 467 4/5/2023
6.0.0-alpha-010 445 4/3/2023
6.0.0-alpha-009 272 3/31/2023
6.0.0-alpha-008 245 3/27/2023
6.0.0-alpha-007 232 3/27/2023
6.0.0-alpha-006 386 3/17/2023
6.0.0-alpha-005 275 2/24/2023
6.0.0-alpha-004 252 2/22/2023
6.0.0-alpha-003 262 2/4/2023
6.0.0-alpha-002 259 2/1/2023
6.0.0-alpha-001 272 1/24/2023
5.2.4 1,483 3/17/2023
5.2.3 639 3/6/2023
5.2.2 458 2/21/2023
5.2.1 8,710 2/4/2023
5.2.0 897 1/19/2023
5.2.0-alpha-012 397 1/14/2023
5.2.0-alpha-011 267 1/12/2023
5.2.0-alpha-010 263 12/30/2022
5.2.0-alpha-009 276 12/29/2022
5.2.0-alpha-008 256 12/28/2022
5.2.0-alpha-007 264 12/26/2022
5.2.0-alpha-006 270 12/22/2022
5.2.0-alpha-005 262 12/16/2022
5.2.0-alpha-004 287 12/8/2022
5.2.0-alpha-003 244 12/6/2022
5.2.0-alpha-002 277 12/4/2022
5.2.0-alpha-001 282 11/30/2022
5.1.5 1,682 12/22/2022
5.1.4 699 11/30/2022
5.1.3 850 11/14/2022
5.1.2 851 11/10/2022
5.1.1 564 11/7/2022
5.1.0 630 11/4/2022
5.1.0-beta-002 296 10/29/2022
5.1.0-beta-001 326 10/19/2022
5.1.0-alpha-007 268 10/14/2022
5.1.0-alpha-006 311 10/14/2022
5.1.0-alpha-005 238 10/7/2022
5.1.0-alpha-004 301 10/7/2022
5.1.0-alpha-003 273 10/2/2022
5.1.0-alpha-002 279 9/29/2022
5.1.0-alpha-001 382 9/18/2022
5.0.6 1,771 10/13/2022
5.0.5 713 10/7/2022
5.0.4 675 10/4/2022
5.0.3 774 9/29/2022
5.0.2 654 9/22/2022
5.0.1 697 9/18/2022
5.0.0 13,887 9/16/2022
5.0.0-beta-010 349 9/10/2022
5.0.0-beta-009 733 9/2/2022
5.0.0-beta-008 512 8/30/2022
5.0.0-beta-007 483 8/19/2022
5.0.0-beta-006 300 8/12/2022
5.0.0-beta-005 280 8/3/2022
5.0.0-beta-004 291 7/27/2022
5.0.0-beta-003 302 7/26/2022
5.0.0-beta-002 323 7/19/2022
5.0.0-beta-001 324 7/15/2022
5.0.0-alpha-011 319 7/8/2022
5.0.0-alpha-010 311 6/27/2022
5.0.0-alpha-009 297 6/21/2022
5.0.0-alpha-008 302 5/28/2022
5.0.0-alpha-007 340 5/16/2022
5.0.0-alpha-006 323 5/13/2022
5.0.0-alpha-005 335 5/7/2022
5.0.0-alpha-004 352 5/7/2022
5.0.0-alpha-003 352 5/6/2022

### Changed
* Control space in pattern by `fsharp_space_before_lowercase_invocation` and `fsharp_space_before_uppercase_invocation`. [fslang-design/issues/712](https://github.com/fsharp/fslang-design/issues/712)
* Style of base constructor calls. [fsharp/fslang-design#693](https://github.com/fsharp/fslang-design/issues/693)
* Style of multiline type annotations/ [fsharp/fslang-design#708](https://github.com/fsharp/fslang-design/issues/708)

### Fixed
* Comments in SynArgPats.NamePatPairs are lost. [#2541](https://github.com/fsprojects/fantomas/issues/2541)
* Vanity alignment used inside base ctor call. [#2111](https://github.com/fsprojects/fantomas/issues/2111)
* Add line break before start of argument list. [#2335](https://github.com/fsprojects/fantomas/issues/2335)