Fantomas 4.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fantomas --version 4.3.0                
NuGet\Install-Package Fantomas -Version 4.3.0                
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" Version="4.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fantomas --version 4.3.0                
#r "nuget: Fantomas, 4.3.0"                
#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.
// Install Fantomas as a Cake Addin
#addin nuget:?package=Fantomas&version=4.3.0

// Install Fantomas as a Cake Tool
#tool nuget:?package=Fantomas&version=4.3.0                

This library aims at formatting F# source files based on a given configuration.
Fantomas will ensure correct indentation and consistent spacing between elements in the source files.
Some common use cases include
(1) Reformatting a code base to conform a universal page width
(2) Converting legacy code from verbose syntax to light syntax
(3) Formatting auto-generated F# signatures.

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. 
.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 (4)

Showing the top 4 NuGet packages that depend on Fantomas:

Package Downloads
dotnet-fantomas

This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures.

Falanx.Machinery

Package Description

GiraffeGenerator.Core

Package Description

CellScript.FCS

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.3.13 311 9/10/2024
6.3.12 1,167 9/5/2024
6.3.11 8,336 8/16/2024
6.3.10 10,699 7/12/2024
6.3.9 12,357 6/9/2024
6.3.8 816 6/6/2024
6.3.7 1,589 6/1/2024
6.3.6 155 6/1/2024
6.3.5 803 5/30/2024
6.3.4 18,799 4/16/2024
6.3.3 3,148 4/12/2024
6.3.2 253 4/12/2024
6.3.1 9,853 3/30/2024
6.3.0 12,660 3/15/2024
6.3.0-beta-001 892 3/7/2024
6.3.0-alpha-008 800 3/1/2024
6.3.0-alpha-007 1,861 1/27/2024
6.3.0-alpha-006 818 1/9/2024
6.3.0-alpha-005 1,193 12/22/2023
6.3.0-alpha-004 1,878 12/6/2023
6.3.0-alpha-003 1,428 11/15/2023
6.3.0-alpha-002 911 11/7/2023
6.3.0-alpha-001 752 11/3/2023
6.2.3 107,253 11/2/2023
6.2.2 24,724 10/18/2023
6.2.1 9,441 9/18/2023
6.2.0 24,341 8/29/2023
6.1.3 1,424 8/25/2023
6.1.2 13,814 7/23/2023
6.1.1 54,165 6/29/2023
6.1.0 7,512 6/28/2023
6.1.0-alpha-006 1,089 6/20/2023
6.1.0-alpha-005 1,014 6/20/2023
6.1.0-alpha-004 828 6/19/2023
6.1.0-alpha-003 1,098 6/2/2023
6.1.0-alpha-002 961 5/2/2023
6.1.0-alpha-001 968 5/2/2023
6.0.8 1,953 6/20/2023
6.0.7 1,255 6/20/2023
6.0.6 1,446 6/19/2023
6.0.5 4,868 6/6/2023
6.0.4 1,292 6/2/2023
6.0.3 12,375 5/14/2023
6.0.2 4,040 5/5/2023
6.0.1 50,539 4/19/2023
6.0.0 35,850 4/13/2023
6.0.0-beta-001 1,466 4/5/2023
6.0.0-alpha-010 6,115 4/3/2023
6.0.0-alpha-009 805 3/31/2023
6.0.0-alpha-008 2,051 3/27/2023
6.0.0-alpha-007 1,336 3/27/2023
6.0.0-alpha-006 1,475 3/17/2023
6.0.0-alpha-005 2,352 2/24/2023
6.0.0-alpha-004 8,597 2/22/2023
6.0.0-alpha-003 2,925 2/4/2023
6.0.0-alpha-002 880 2/1/2023
6.0.0-alpha-001 1,011 1/24/2023
5.2.4 6,041 3/17/2023
5.2.3 5,424 3/6/2023
5.2.2 12,867 2/21/2023
5.2.1 52,178 2/4/2023
5.2.0 6,820 1/19/2023
5.2.0-alpha-012 1,143 1/14/2023
5.2.0-alpha-011 1,370 1/12/2023
5.2.0-alpha-010 1,075 12/30/2022
5.2.0-alpha-009 1,007 12/29/2022
5.2.0-alpha-008 1,124 12/28/2022
5.2.0-alpha-007 999 12/26/2022
5.2.0-alpha-006 1,004 12/22/2022
5.2.0-alpha-005 1,133 12/16/2022
5.2.0-alpha-004 1,246 12/8/2022
5.2.0-alpha-003 1,009 12/6/2022
5.2.0-alpha-002 962 12/4/2022
5.2.0-alpha-001 910 11/30/2022
5.1.5 24,832 12/22/2022
5.1.4 26,606 11/30/2022
5.1.3 7,216 11/14/2022
5.1.2 1,527 11/10/2022
5.1.1 4,054 11/7/2022
5.1.0 2,733 11/4/2022
5.1.0-beta-002 980 10/29/2022
5.1.0-beta-001 1,348 10/19/2022
5.1.0-alpha-007 1,027 10/14/2022
5.1.0-alpha-006 982 10/14/2022
5.1.0-alpha-005 1,127 10/7/2022
5.1.0-alpha-004 1,140 10/7/2022
5.1.0-alpha-003 1,139 10/2/2022
5.1.0-alpha-002 1,025 9/29/2022
5.1.0-alpha-001 1,073 9/18/2022
5.0.6 24,141 10/13/2022
5.0.5 9,233 10/7/2022
5.0.4 2,156 10/4/2022
5.0.3 10,551 9/29/2022
5.0.2 8,087 9/22/2022
5.0.1 6,165 9/18/2022
5.0.0 21,189 9/16/2022
5.0.0-beta-010 19,789 9/10/2022
5.0.0-beta-009 9,186 9/2/2022
5.0.0-beta-008 3,007 8/30/2022
5.0.0-beta-007 1,582 8/19/2022
5.0.0-beta-006 2,900 8/12/2022
5.0.0-beta-005 5,059 8/3/2022
5.0.0-beta-004 2,279 7/27/2022
5.0.0-beta-003 3,686 7/26/2022
5.0.0-beta-002 1,879 7/19/2022
5.0.0-beta-001 2,871 7/15/2022
5.0.0-alpha-011 1,596 7/8/2022
5.0.0-alpha-010 2,169 6/27/2022
5.0.0-alpha-009 73,489 6/21/2022
5.0.0-alpha-008 2,886 5/28/2022
5.0.0-alpha-007 1,824 5/16/2022
5.0.0-alpha-006 1,845 5/13/2022
5.0.0-alpha-005 1,329 5/7/2022
5.0.0-alpha-004 1,421 5/7/2022
5.0.0-alpha-003 1,878 5/6/2022
5.0.0-alpha-002 720 4/4/2022
5.0.0-alpha-001 678 3/19/2022
4.7.9 11,062 5/2/2022
4.7.8 10,517 4/25/2022
4.7.7 1,147 4/20/2022
4.7.6 1,418 4/4/2022
4.7.5 1,264 3/27/2022
4.7.4 1,234 3/25/2022
4.7.3 4,804 3/12/2022
4.7.2 1,142 3/11/2022
4.7.1 1,124 3/8/2022
4.7.0 1,279 3/4/2022
4.6.6 1,184 3/4/2022
4.6.5 1,927 2/18/2022
4.6.4 1,667 2/11/2022
4.6.3 1,731 2/8/2022
4.6.2 1,722 2/6/2022
4.6.1 1,701 2/1/2022
4.6.0 2,218 1/14/2022
4.6.0-beta-001 763 1/8/2022
4.6.0-alpha-011 765 12/29/2021
4.6.0-alpha-010 758 12/4/2021
4.6.0-alpha-009 3,419 11/24/2021
4.6.0-alpha-008 1,212 11/19/2021
4.6.0-alpha-007 808 11/7/2021
4.6.0-alpha-006 200 11/3/2021
4.6.0-alpha-005 224 10/27/2021
4.6.0-alpha-004 202 10/20/2021
4.6.0-alpha-003 182 10/5/2021
4.6.0-alpha-002 193 9/7/2021
4.6.0-alpha-001 171 8/11/2021
4.5.12 1,586 1/8/2022
4.5.11 2,365 12/29/2021
4.5.10 2,618 12/4/2021
4.5.9 7,511 11/24/2021
4.5.8 1,725 11/19/2021
4.5.7 1,551 11/7/2021
4.5.6 1,349 11/3/2021
4.5.5 1,504 10/27/2021
4.5.4 1,409 10/5/2021
4.5.3 2,912 9/7/2021
4.5.2 1,558 8/11/2021
4.5.1 3,374 7/24/2021
4.5.0 3,325 7/7/2021
4.5.0-beta-005 873 7/6/2021
4.5.0-beta-004 862 7/5/2021
4.5.0-beta-003 892 7/5/2021
4.5.0-beta-002 890 6/27/2021
4.5.0-beta-001 1,379 6/5/2021
4.5.0-alpha-020 852 5/26/2021
4.5.0-alpha-019 844 5/22/2021
4.5.0-alpha-018 868 5/21/2021
4.5.0-alpha-017 841 5/15/2021
4.5.0-alpha-016 811 5/9/2021
4.5.0-alpha-015 919 5/8/2021
4.5.0-alpha-014 928 4/30/2021
4.5.0-alpha-013 884 4/27/2021
4.5.0-alpha-012 842 4/23/2021
4.5.0-alpha-011 952 4/20/2021
4.5.0-alpha-010 867 4/14/2021
4.5.0-alpha-009 878 4/11/2021
4.5.0-alpha-008 878 4/8/2021
4.5.0-alpha-007 897 4/8/2021
4.5.0-alpha-006 846 4/5/2021
4.5.0-alpha-005 860 4/3/2021
4.5.0-alpha-004 893 4/2/2021
4.5.0-alpha-003 908 3/28/2021
4.5.0-alpha-002 899 3/22/2021
4.5.0-alpha-001 2,524 2/26/2021
4.4.0 12,966 2/25/2021
4.4.0-beta-008 934 2/19/2021
4.4.0-beta-007 938 2/12/2021
4.4.0-beta-006 928 2/12/2021
4.4.0-beta-005 991 2/9/2021
4.4.0-beta-004 971 2/5/2021
4.4.0-beta-003 1,411 1/30/2021
4.4.0-beta-002 958 1/23/2021
4.4.0-beta-001 1,360 1/22/2021
4.4.0-alpha-008 1,144 1/15/2021
4.4.0-alpha-007 1,626 12/26/2020
4.4.0-alpha-006 1,038 12/25/2020
4.4.0-alpha-005 1,122 12/23/2020
4.4.0-alpha-004 1,136 12/22/2020
4.4.0-alpha-003 1,157 12/18/2020
4.4.0-alpha-002 1,130 12/17/2020
4.4.0-alpha-001 1,026 12/17/2020
4.3.0 5,557 12/17/2020
4.3.0-beta-002 1,082 12/11/2020
4.3.0-beta-001 1,026 12/7/2020
4.3.0-alpha-007 1,056 11/21/2020
4.3.0-alpha-006 1,051 11/20/2020
4.3.0-alpha-005 1,001 11/16/2020
4.3.0-alpha-004 1,509 11/12/2020
4.3.0-alpha-003 1,080 11/10/2020
4.3.0-alpha-002 1,060 10/26/2020
4.3.0-alpha-001 1,089 10/23/2020
4.2.0 4,918 9/25/2020
4.2.0-alpha-004 1,233 9/23/2020
4.2.0-alpha-003 1,031 9/21/2020
4.2.0-alpha-002 1,116 9/19/2020
4.2.0-alpha-001 1,160 9/18/2020
4.1.1 1,728 9/17/2020
4.1.0 1,952 9/10/2020
4.1.0-beta-004 1,191 9/5/2020
4.1.0-beta-003 1,130 9/4/2020
4.1.0-beta-002 1,469 9/4/2020
4.1.0-beta-001 1,077 9/3/2020
4.1.0-alpha-001 1,081 9/1/2020
4.0.0 4,082 8/27/2020
4.0.0-beta-003 1,112 8/21/2020
4.0.0-beta-002 1,194 8/7/2020
4.0.0-beta-001 1,513 7/20/2020
4.0.0-alpha-014 1,322 7/14/2020
4.0.0-alpha-013 1,121 7/11/2020
4.0.0-alpha-012 1,880 7/6/2020
4.0.0-alpha-011 980 6/25/2020
4.0.0-alpha-010 1,356 6/18/2020
4.0.0-alpha-009 1,034 6/12/2020
4.0.0-alpha-008 1,155 6/2/2020
4.0.0-alpha-007 1,027 6/1/2020
4.0.0-alpha-006 2,240 5/23/2020
4.0.0-alpha-005 2,053 5/16/2020
4.0.0-alpha-004 1,442 5/4/2020
4.0.0-alpha-003 1,086 5/3/2020
4.0.0-alpha-002 1,133 4/26/2020
4.0.0-alpha-001 1,031 4/20/2020
3.3.0 12,773 2/28/2020
3.3.0-beta-002 1,971 2/21/2020
3.3.0-beta-001 1,145 2/18/2020
3.2.0 21,164 2/3/2020
3.2.0-beta-002 1,714 1/7/2020
3.2.0-beta-001 1,274 12/26/2019
3.1.0 10,650 11/27/2019
3.0.0 5,000 10/11/2019
3.0.0-beta-006 1,852 10/2/2019
3.0.0-beta-005 1,039 9/27/2019
3.0.0-beta-004 1,616 9/18/2019
3.0.0-beta-003 1,164 9/13/2019
3.0.0-beta-002 16,536 7/20/2019
3.0.0-beta-001 5,842 7/12/2019
2.9.2 25,620 2/2/2019
2.9.1 4,937 11/20/2018
2.9.0 11,238 10/17/2018
2.8.1 2,746 9/12/2018
2.8.0 5,958 7/7/2018
2.7.1 4,841 5/2/2018
2.7.0 2,487 5/2/2018
2.6.1 45,677 4/22/2017
2.5.0 2,932 2/19/2017
2.4.0 3,033 10/24/2016
2.3.0 2,700 7/9/2016
2.2.0 2,444 4/24/2016
2.1.0 2,338 4/1/2016
2.0.2 9,075 11/15/2015
1.11.0 2,872 9/12/2015
1.10.0 2,226 8/29/2015
1.9.0 2,683 8/10/2015
1.8.0-beta 1,860 7/19/2015
1.7.0 2,329 6/10/2015
1.6.0 3,207 10/25/2014
1.5.0 2,672 9/18/2014
1.4.0 3,040 7/1/2014
1.3.0 2,531 5/17/2014
1.2.0 2,546 4/21/2014
1.1.0 2,457 3/29/2014
1.0.7 2,418 3/12/2014
1.0.5.1 2,509 1/15/2014
1.0.5 2,242 1/7/2014
1.0.4 2,325 11/16/2013
1.0.3 2,341 10/6/2013
1.0.2 2,281 8/16/2013
1.0.1 2,470 7/22/2013
1.0.0 5,369 7/16/2013
0.9.9.2 2,676 7/2/2013
0.9.9.1 2,449 6/22/2013
0.9.8 2,437 6/14/2013
0.9.7 2,391 6/7/2013
0.9.6 2,375 5/31/2013
0.9.5 2,460 5/23/2013
0.9.4 2,312 5/19/2013
0.9.3 2,342 5/9/2013
0.9.2 2,361 5/3/2013
0.9.1 2,577 4/26/2013
0.9.0 2,358 4/19/2013
0.8.9 2,421 4/12/2013
0.8.8 2,388 4/11/2013
0.8.7 2,304 4/9/2013
0.8.6 2,323 4/4/2013
0.8.5 2,406 4/2/2013
0.8.4 2,332 4/1/2013
0.8.3 2,396 4/1/2013
0.8.2 2,283 4/1/2013
0.8.1 2,467 3/31/2013
0.8.0 2,407 3/31/2013

Feature Clarify constructors. [#1217](https://github.com/fsprojects/fantomas/issues/1217)
Feature MultiLineLambdaClosingNewline. [#1221](https://github.com/fsprojects/fantomas/issues/1221)
Feature Disable Elmish syntax. [#1198](https://github.com/fsprojects/fantomas/issues/1198)
Support user-provided end-of-line characters. [#1231](https://github.com/fsprojects/fantomas/issues/1231)
Add option to make expressions multiline based on number of subexpressions rather than character length. [#1143](https://github.com/fsprojects/fantomas/issues/1143)
Update to FCS 38. [#1240](https://github.com/fsprojects/fantomas/pull/1240)
Fix Comment after let binding breaks downstream output. [#1284](https://github.com/fsprojects/fantomas/issues/1284)
Fix Comments are removed before and after empty array literals. [#1281](https://github.com/fsprojects/fantomas/issues/1281)
Fix Use a safe filename when formatting from CodeFormatter. [#1279](https://github.com/fsprojects/fantomas/issues/1279)
Fix Incorrect movement of a comma. [#966](https://github.com/fsprojects/fantomas/issues/966)
Fix Bracket indentation is incorrect. [#1271](https://github.com/fsprojects/fantomas/issues/1271)
Fix tuple with match formats to invalid code. [#1269](https://github.com/fsprojects/fantomas/issues/1269)
Fix Incorrect movement of a comma. [#966](https://github.com/fsprojects/fantomas/issues/966)
Fix Not adding a space even when all SpaceBefore* settings are enabled. [#964](https://github.com/fsprojects/fantomas/issues/964)
Fix Multiline if condition can have incorrect indentation error. [#1267](https://github.com/fsprojects/fantomas/issues/1267)
Fix multiline do bang gives a warning. [#1265](https://github.com/fsprojects/fantomas/issues/1265)
Fix regressions. [#1264](https://github.com/fsprojects/fantomas/pull/1264)
Fix multiline yield bang in list should be further indented. [#1254](https://github.com/fsprojects/fantomas/issues/1254)
Fix Or pipe in destructured record should not be splitted. [#1252](https://github.com/fsprojects/fantomas/issues/1252)
Fix Swap order of private and inline. [#1250](https://github.com/fsprojects/fantomas/issues/1250)
Fix Comment is lost in enum. [#1247](https://github.com/fsprojects/fantomas/issues/1247)
Fix Nested if/else/then in short mode. [#1243](https://github.com/fsprojects/fantomas/issues/1243)
Fix Something doesn't add up in fix for 303. [#1093](https://github.com/fsprojects/fantomas/issues/1093)
Fix Fantomas format is "unstable/oscillates" after upcast operator: adds/removes empty line. [#1227](https://github.com/fsprojects/fantomas/issues/1227)
Fix Misplaces `=` in function signature so it's invalid F# code. [#1218](https://github.com/fsprojects/fantomas/issues/1218)
Fix Additional newline is added between if/elif and for loop. [#1211](https://github.com/fsprojects/fantomas/issues/1211)
Fix Let binding in hash directive disappears. [#1205](https://github.com/fsprojects/fantomas/issues/1205)
Fix Downcast operator doesn't get a new line. [#1203](https://github.com/fsprojects/fantomas/issues/1203)
Fix Implicit unit else results in extra lines with each reformat. [#1187](https://github.com/fsprojects/fantomas/issues/1187)
Fix Incorrect formatting of function parameter application with lambdas. [#1201](https://github.com/fsprojects/fantomas/issues/1201)
Fix Lambda functions in fluent API calls should indent further. [#970](https://github.com/fsprojects/fantomas/issues/970)
Fix Hard to read code when using Thoth.Json. [#685](https://github.com/fsprojects/fantomas/issues/685)
Fix --check should ignore the line endings. [#1196](https://github.com/fsprojects/fantomas/issues/1196)
Fix Format entire return type on the line. [#1181](https://github.com/fsprojects/fantomas/issues/1181)
Fix Only add one `in` keyword in LetOrUse. [#1176](https://github.com/fsprojects/fantomas/issues/1176)
Fix Multiline SynPat.Record in pattern match is formatted as a mixture of single/multiline styles. [#1173](https://github.com/fsprojects/fantomas/issues/1173)
Fix Inconsistent indentation of multiline records with internal keyword when fsharp_multiline_block_brackets_on_same_column is on/off. [#1171](https://github.com/fsprojects/fantomas/issues/1171)
Fix Lambda argument splits in awkward way. [#1164](https://github.com/fsprojects/fantomas/issues/1164)
Fix Multiline expression should be on next line. [#1158](https://github.com/fsprojects/fantomas/issues/1158)
Fix Missing in keyword makes code invalid. [#1114](https://github.com/fsprojects/fantomas/issues/1114)
Fix Invalid code after format. [#1032](https://github.com/fsprojects/fantomas/issues/1032)
Fix Space before ^ SRTP type is removed in function call. [#984](https://github.com/fsprojects/fantomas/issues/984)
Fix Shouldn't remove space after colon. [#908](https://github.com/fsprojects/fantomas/issues/908)
Fix Crash when formatting with config file. [#824](https://github.com/fsprojects/fantomas/issues/824)
Fix Formatting typeof generic static constraint fails to compile. [#803](https://github.com/fsprojects/fantomas/issues/803)
Fix Indenting of record definition when internal. [#658](https://github.com/fsprojects/fantomas/issues/658)