Fantomas.Core 5.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fantomas.Core --version 5.0.2
                    
NuGet\Install-Package Fantomas.Core -Version 5.0.2
                    
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.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fantomas.Core" Version="5.0.2" />
                    
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.0.2
                    
#r "nuget: Fantomas.Core, 5.0.2"
                    
#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.0.2
                    
#: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.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Fantomas.Core&version=5.0.2
                    
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 29 12/5/2025
7.0.4 37 12/5/2025
7.0.3 5,081 7/4/2025
7.0.2 815 5/28/2025
7.0.1 3,483 2/21/2025
7.0.0 1,590 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 207 9/16/2024
6.3.16 3,703 10/29/2024
6.3.15 15,747 9/14/2024
6.3.14 235 9/14/2024
6.3.13 256 9/10/2024
6.3.12 385 9/5/2024
6.3.11 838 8/16/2024
6.3.10 1,168 7/12/2024
6.3.9 8,657 6/9/2024
6.3.8 254 6/6/2024
6.3.7 797 6/1/2024
6.3.6 235 6/1/2024
6.3.5 255 5/30/2024
6.3.4 2,168 4/16/2024
6.3.3 1,142 4/12/2024
6.3.2 232 4/12/2024
6.3.1 1,666 3/30/2024
6.3.0 723 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,779 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,547 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,302 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 340 6/2/2023
6.1.0-alpha-002 300 5/2/2023
6.1.0-alpha-001 257 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,484 6/6/2023
6.0.4 313 6/2/2023
6.0.3 335 5/14/2023
6.0.2 320 5/5/2023
6.0.1 378 4/19/2023
6.0.0 871 4/13/2023
6.0.0-beta-001 466 4/5/2023
6.0.0-alpha-010 444 4/3/2023
6.0.0-alpha-009 271 3/31/2023
6.0.0-alpha-008 244 3/27/2023
6.0.0-alpha-007 230 3/27/2023
6.0.0-alpha-006 385 3/17/2023
6.0.0-alpha-005 274 2/24/2023
6.0.0-alpha-004 251 2/22/2023
6.0.0-alpha-003 259 2/4/2023
6.0.0-alpha-002 257 2/1/2023
6.0.0-alpha-001 270 1/24/2023
5.2.4 1,482 3/17/2023
5.2.3 638 3/6/2023
5.2.2 456 2/21/2023
5.2.1 8,708 2/4/2023
5.2.0 895 1/19/2023
5.2.0-alpha-012 395 1/14/2023
5.2.0-alpha-011 265 1/12/2023
5.2.0-alpha-010 261 12/30/2022
5.2.0-alpha-009 274 12/29/2022
5.2.0-alpha-008 254 12/28/2022
5.2.0-alpha-007 262 12/26/2022
5.2.0-alpha-006 268 12/22/2022
5.2.0-alpha-005 260 12/16/2022
5.2.0-alpha-004 285 12/8/2022
5.2.0-alpha-003 242 12/6/2022
5.2.0-alpha-002 275 12/4/2022
5.2.0-alpha-001 280 11/30/2022
5.1.5 1,680 12/22/2022
5.1.4 697 11/30/2022
5.1.3 848 11/14/2022
5.1.2 849 11/10/2022
5.1.1 562 11/7/2022
5.1.0 628 11/4/2022
5.1.0-beta-002 294 10/29/2022
5.1.0-beta-001 324 10/19/2022
5.1.0-alpha-007 266 10/14/2022
5.1.0-alpha-006 309 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,769 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 348 9/10/2022
5.0.0-beta-009 732 9/2/2022
5.0.0-beta-008 512 8/30/2022
5.0.0-beta-007 482 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 338 5/16/2022
5.0.0-alpha-006 323 5/13/2022
5.0.0-alpha-005 334 5/7/2022
5.0.0-alpha-004 352 5/7/2022
5.0.0-alpha-003 352 5/6/2022

### Fixed
* Wrong generic constraint placement in ML-style generic definitions with multiple type parameters. [#1868](https://github.com/fsprojects/fantomas/issues/1868)
* Incorrect async indentation when inside of a match. [#2501](https://github.com/fsprojects/fantomas/issues/2501)
* Conditional directives before expression leads to invalid code with Stroustrup. [#2517](https://github.com/fsprojects/fantomas/issues/2517)

### Documented
* Building Fantomas in Visual Studio for dev errors. [#2447](https://github.com/fsprojects/fantomas/issues/2447)