Fantomas 3.2.0

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

// Install Fantomas as a Cake Tool
#tool nuget:?package=Fantomas&version=3.2.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.9 1,260 6/9/2024
6.3.8 572 6/6/2024
6.3.7 1,255 6/1/2024
6.3.6 143 6/1/2024
6.3.5 578 5/30/2024
6.3.4 10,836 4/16/2024
6.3.3 1,937 4/12/2024
6.3.2 216 4/12/2024
6.3.1 7,246 3/30/2024
6.3.0 9,645 3/15/2024
6.3.0-beta-001 735 3/7/2024
6.3.0-alpha-008 794 3/1/2024
6.3.0-alpha-007 1,701 1/27/2024
6.3.0-alpha-006 813 1/9/2024
6.3.0-alpha-005 1,186 12/22/2023
6.3.0-alpha-004 1,868 12/6/2023
6.3.0-alpha-003 1,371 11/15/2023
6.3.0-alpha-002 904 11/7/2023
6.3.0-alpha-001 729 11/3/2023
6.2.3 87,242 11/2/2023
6.2.2 17,002 10/18/2023
6.2.1 8,927 9/18/2023
6.2.0 23,289 8/29/2023
6.1.3 1,394 8/25/2023
6.1.2 12,943 7/23/2023
6.1.1 24,860 6/29/2023
6.1.0 7,507 6/28/2023
6.1.0-alpha-006 1,083 6/20/2023
6.1.0-alpha-005 1,008 6/20/2023
6.1.0-alpha-004 823 6/19/2023
6.1.0-alpha-003 1,092 6/2/2023
6.1.0-alpha-002 956 5/2/2023
6.1.0-alpha-001 964 5/2/2023
6.0.8 1,934 6/20/2023
6.0.7 1,250 6/20/2023
6.0.6 1,440 6/19/2023
6.0.5 4,734 6/6/2023
6.0.4 1,286 6/2/2023
6.0.3 12,301 5/14/2023
6.0.2 3,939 5/5/2023
6.0.1 35,857 4/19/2023
6.0.0 26,093 4/13/2023
6.0.0-beta-001 1,459 4/5/2023
6.0.0-alpha-010 5,463 4/3/2023
6.0.0-alpha-009 796 3/31/2023
6.0.0-alpha-008 2,045 3/27/2023
6.0.0-alpha-007 1,333 3/27/2023
6.0.0-alpha-006 1,471 3/17/2023
6.0.0-alpha-005 2,348 2/24/2023
6.0.0-alpha-004 8,338 2/22/2023
6.0.0-alpha-003 2,918 2/4/2023
6.0.0-alpha-002 873 2/1/2023
6.0.0-alpha-001 1,008 1/24/2023
5.2.4 5,955 3/17/2023
5.2.3 5,414 3/6/2023
5.2.2 12,577 2/21/2023
5.2.1 41,723 2/4/2023
5.2.0 6,811 1/19/2023
5.2.0-alpha-012 1,140 1/14/2023
5.2.0-alpha-011 1,367 1/12/2023
5.2.0-alpha-010 1,069 12/30/2022
5.2.0-alpha-009 1,003 12/29/2022
5.2.0-alpha-008 1,030 12/28/2022
5.2.0-alpha-007 995 12/26/2022
5.2.0-alpha-006 998 12/22/2022
5.2.0-alpha-005 1,121 12/16/2022
5.2.0-alpha-004 1,240 12/8/2022
5.2.0-alpha-003 1,005 12/6/2022
5.2.0-alpha-002 957 12/4/2022
5.2.0-alpha-001 906 11/30/2022
5.1.5 24,467 12/22/2022
5.1.4 26,444 11/30/2022
5.1.3 7,060 11/14/2022
5.1.2 1,520 11/10/2022
5.1.1 4,043 11/7/2022
5.1.0 2,723 11/4/2022
5.1.0-beta-002 971 10/29/2022
5.1.0-beta-001 1,344 10/19/2022
5.1.0-alpha-007 1,023 10/14/2022
5.1.0-alpha-006 978 10/14/2022
5.1.0-alpha-005 1,122 10/7/2022
5.1.0-alpha-004 1,135 10/7/2022
5.1.0-alpha-003 1,135 10/2/2022
5.1.0-alpha-002 1,019 9/29/2022
5.1.0-alpha-001 1,067 9/18/2022
5.0.6 23,651 10/13/2022
5.0.5 8,188 10/7/2022
5.0.4 2,142 10/4/2022
5.0.3 10,262 9/29/2022
5.0.2 7,891 9/22/2022
5.0.1 5,441 9/18/2022
5.0.0 21,171 9/16/2022
5.0.0-beta-010 17,494 9/10/2022
5.0.0-beta-009 8,913 9/2/2022
5.0.0-beta-008 3,001 8/30/2022
5.0.0-beta-007 1,576 8/19/2022
5.0.0-beta-006 2,895 8/12/2022
5.0.0-beta-005 5,053 8/3/2022
5.0.0-beta-004 2,226 7/27/2022
5.0.0-beta-003 3,682 7/26/2022
5.0.0-beta-002 1,875 7/19/2022
5.0.0-beta-001 2,865 7/15/2022
5.0.0-alpha-011 1,589 7/8/2022
5.0.0-alpha-010 2,162 6/27/2022
5.0.0-alpha-009 69,358 6/21/2022
5.0.0-alpha-008 2,825 5/28/2022
5.0.0-alpha-007 1,818 5/16/2022
5.0.0-alpha-006 1,840 5/13/2022
5.0.0-alpha-005 1,321 5/7/2022
5.0.0-alpha-004 1,413 5/7/2022
5.0.0-alpha-003 1,873 5/6/2022
5.0.0-alpha-002 712 4/4/2022
5.0.0-alpha-001 673 3/19/2022
4.7.9 10,955 5/2/2022
4.7.8 10,511 4/25/2022
4.7.7 1,140 4/20/2022
4.7.6 1,410 4/4/2022
4.7.5 1,258 3/27/2022
4.7.4 1,228 3/25/2022
4.7.3 4,796 3/12/2022
4.7.2 1,134 3/11/2022
4.7.1 1,115 3/8/2022
4.7.0 1,267 3/4/2022
4.6.6 1,174 3/4/2022
4.6.5 1,917 2/18/2022
4.6.4 1,660 2/11/2022
4.6.3 1,725 2/8/2022
4.6.2 1,714 2/6/2022
4.6.1 1,693 2/1/2022
4.6.0 2,213 1/14/2022
4.6.0-beta-001 760 1/8/2022
4.6.0-alpha-011 756 12/29/2021
4.6.0-alpha-010 755 12/4/2021
4.6.0-alpha-009 3,414 11/24/2021
4.6.0-alpha-008 1,207 11/19/2021
4.6.0-alpha-007 804 11/7/2021
4.6.0-alpha-006 194 11/3/2021
4.6.0-alpha-005 219 10/27/2021
4.6.0-alpha-004 198 10/20/2021
4.6.0-alpha-003 178 10/5/2021
4.6.0-alpha-002 190 9/7/2021
4.6.0-alpha-001 166 8/11/2021
4.5.12 1,579 1/8/2022
4.5.11 2,358 12/29/2021
4.5.10 2,612 12/4/2021
4.5.9 7,501 11/24/2021
4.5.8 1,718 11/19/2021
4.5.7 1,546 11/7/2021
4.5.6 1,342 11/3/2021
4.5.5 1,498 10/27/2021
4.5.4 1,403 10/5/2021
4.5.3 2,907 9/7/2021
4.5.2 1,549 8/11/2021
4.5.1 3,363 7/24/2021
4.5.0 3,318 7/7/2021
4.5.0-beta-005 868 7/6/2021
4.5.0-beta-004 857 7/5/2021
4.5.0-beta-003 887 7/5/2021
4.5.0-beta-002 881 6/27/2021
4.5.0-beta-001 1,375 6/5/2021
4.5.0-alpha-020 847 5/26/2021
4.5.0-alpha-019 839 5/22/2021
4.5.0-alpha-018 864 5/21/2021
4.5.0-alpha-017 837 5/15/2021
4.5.0-alpha-016 806 5/9/2021
4.5.0-alpha-015 914 5/8/2021
4.5.0-alpha-014 924 4/30/2021
4.5.0-alpha-013 879 4/27/2021
4.5.0-alpha-012 836 4/23/2021
4.5.0-alpha-011 947 4/20/2021
4.5.0-alpha-010 861 4/14/2021
4.5.0-alpha-009 872 4/11/2021
4.5.0-alpha-008 872 4/8/2021
4.5.0-alpha-007 891 4/8/2021
4.5.0-alpha-006 840 4/5/2021
4.5.0-alpha-005 856 4/3/2021
4.5.0-alpha-004 888 4/2/2021
4.5.0-alpha-003 902 3/28/2021
4.5.0-alpha-002 894 3/22/2021
4.5.0-alpha-001 2,519 2/26/2021
4.4.0 12,955 2/25/2021
4.4.0-beta-008 929 2/19/2021
4.4.0-beta-007 933 2/12/2021
4.4.0-beta-006 925 2/12/2021
4.4.0-beta-005 985 2/9/2021
4.4.0-beta-004 967 2/5/2021
4.4.0-beta-003 1,407 1/30/2021
4.4.0-beta-002 953 1/23/2021
4.4.0-beta-001 1,356 1/22/2021
4.4.0-alpha-008 1,139 1/15/2021
4.4.0-alpha-007 1,622 12/26/2020
4.4.0-alpha-006 1,034 12/25/2020
4.4.0-alpha-005 1,118 12/23/2020
4.4.0-alpha-004 1,132 12/22/2020
4.4.0-alpha-003 1,153 12/18/2020
4.4.0-alpha-002 1,126 12/17/2020
4.4.0-alpha-001 1,022 12/17/2020
4.3.0 5,545 12/17/2020
4.3.0-beta-002 1,077 12/11/2020
4.3.0-beta-001 1,022 12/7/2020
4.3.0-alpha-007 1,052 11/21/2020
4.3.0-alpha-006 1,047 11/20/2020
4.3.0-alpha-005 997 11/16/2020
4.3.0-alpha-004 1,505 11/12/2020
4.3.0-alpha-003 1,076 11/10/2020
4.3.0-alpha-002 1,056 10/26/2020
4.3.0-alpha-001 1,085 10/23/2020
4.2.0 4,908 9/25/2020
4.2.0-alpha-004 1,228 9/23/2020
4.2.0-alpha-003 1,026 9/21/2020
4.2.0-alpha-002 1,111 9/19/2020
4.2.0-alpha-001 1,155 9/18/2020
4.1.1 1,721 9/17/2020
4.1.0 1,943 9/10/2020
4.1.0-beta-004 1,185 9/5/2020
4.1.0-beta-003 1,125 9/4/2020
4.1.0-beta-002 1,464 9/4/2020
4.1.0-beta-001 1,072 9/3/2020
4.1.0-alpha-001 1,076 9/1/2020
4.0.0 4,072 8/27/2020
4.0.0-beta-003 1,108 8/21/2020
4.0.0-beta-002 1,190 8/7/2020
4.0.0-beta-001 1,510 7/20/2020
4.0.0-alpha-014 1,319 7/14/2020
4.0.0-alpha-013 1,118 7/11/2020
4.0.0-alpha-012 1,877 7/6/2020
4.0.0-alpha-011 977 6/25/2020
4.0.0-alpha-010 1,352 6/18/2020
4.0.0-alpha-009 1,030 6/12/2020
4.0.0-alpha-008 1,146 6/2/2020
4.0.0-alpha-007 1,024 6/1/2020
4.0.0-alpha-006 2,236 5/23/2020
4.0.0-alpha-005 2,049 5/16/2020
4.0.0-alpha-004 1,439 5/4/2020
4.0.0-alpha-003 1,083 5/3/2020
4.0.0-alpha-002 1,130 4/26/2020
4.0.0-alpha-001 1,027 4/20/2020
3.3.0 12,764 2/28/2020
3.3.0-beta-002 1,967 2/21/2020
3.3.0-beta-001 1,141 2/18/2020
3.2.0 21,153 2/3/2020
3.2.0-beta-002 1,710 1/7/2020
3.2.0-beta-001 1,270 12/26/2019
3.1.0 10,644 11/27/2019
3.0.0 4,994 10/11/2019
3.0.0-beta-006 1,848 10/2/2019
3.0.0-beta-005 1,035 9/27/2019
3.0.0-beta-004 1,611 9/18/2019
3.0.0-beta-003 1,155 9/13/2019
3.0.0-beta-002 16,402 7/20/2019
3.0.0-beta-001 5,837 7/12/2019
2.9.2 25,601 2/2/2019
2.9.1 4,930 11/20/2018
2.9.0 11,233 10/17/2018
2.8.1 2,738 9/12/2018
2.8.0 5,952 7/7/2018
2.7.1 4,834 5/2/2018
2.7.0 2,481 5/2/2018
2.6.1 45,667 4/22/2017
2.5.0 2,926 2/19/2017
2.4.0 3,025 10/24/2016
2.3.0 2,692 7/9/2016
2.2.0 2,437 4/24/2016
2.1.0 2,330 4/1/2016
2.0.2 9,069 11/15/2015
1.11.0 2,865 9/12/2015
1.10.0 2,220 8/29/2015
1.9.0 2,668 8/10/2015
1.8.0-beta 1,850 7/19/2015
1.7.0 2,322 6/10/2015
1.6.0 3,200 10/25/2014
1.5.0 2,659 9/18/2014
1.4.0 3,033 7/1/2014
1.3.0 2,524 5/17/2014
1.2.0 2,537 4/21/2014
1.1.0 2,446 3/29/2014
1.0.7 2,405 3/12/2014
1.0.5.1 2,502 1/15/2014
1.0.5 2,234 1/7/2014
1.0.4 2,318 11/16/2013
1.0.3 2,334 10/6/2013
1.0.2 2,275 8/16/2013
1.0.1 2,463 7/22/2013
1.0.0 5,359 7/16/2013
0.9.9.2 2,671 7/2/2013
0.9.9.1 2,441 6/22/2013
0.9.8 2,431 6/14/2013
0.9.7 2,378 6/7/2013
0.9.6 2,367 5/31/2013
0.9.5 2,453 5/23/2013
0.9.4 2,305 5/19/2013
0.9.3 2,335 5/9/2013
0.9.2 2,348 5/3/2013
0.9.1 2,568 4/26/2013
0.9.0 2,351 4/19/2013
0.8.9 2,414 4/12/2013
0.8.8 2,380 4/11/2013
0.8.7 2,297 4/9/2013
0.8.6 2,313 4/4/2013
0.8.5 2,399 4/2/2013
0.8.4 2,324 4/1/2013
0.8.3 2,389 4/1/2013
0.8.2 2,278 4/1/2013
0.8.1 2,460 3/31/2013
0.8.0 2,398 3/31/2013

Added support for settings configuration file. [#354](https://github.com/fsprojects/fantomas/issues/354)
Use Argu for commandline argument parsing. [#607](https://github.com/fsprojects/fantomas/pull/607)
Fix Unicode null escapes are *still* unescaped. [#632](https://github.com/fsprojects/fantomas/issues/632)
Fix Back ticks are removed from enum. [#626](https://github.com/fsprojects/fantomas/issues/626)
Fix Pipe is removed when DU type name matches record type name. [#641](https://github.com/fsprojects/fantomas/issues/641)
Fix fantomas --version should return version. [#625](https://github.com/fsprojects/fantomas/issues/625)
Fix Extra newline between attribute and function. [#611](https://github.com/fsprojects/fantomas/issues/611)
Fix Invalid code produced when formatting type alias for struct tuple. [#605](https://github.com/fsprojects/fantomas/issues/605)
Fix Extra newlines repeatedly being added inside an object expression. [#601](https://github.com/fsprojects/fantomas/issues/601)
Fix Empty line added on each format. [#597](https://github.com/fsprojects/fantomas/issues/597)
Fix Error when formatting DU with single choice and attribute. [#596](https://github.com/fsprojects/fantomas/issues/596)
Fix Unwanted new line after elif expression. [#588](https://github.com/fsprojects/fantomas/issues/588)
Fix Unwanted new line added. [#586](https://github.com/fsprojects/fantomas/issues/586)
Fix Empty lines in multi-line string get moved. [#577](https://github.com/fsprojects/fantomas/issues/577)
Fix Error when combining #if directive with async block and let. [#576](https://github.com/fsprojects/fantomas/issues/576)
Fix DllImport not detected when using additional attribute. [#574](https://github.com/fsprojects/fantomas/issues/574)
Fix Comment in async block gets moved. [#573](https://github.com/fsprojects/fantomas/issues/573)
Fix Enum comments removed. [#572](https://github.com/fsprojects/fantomas/issues/572)
Fix Fantomas keeps adding new lines between two interface member implementations. [#569](https://github.com/fsprojects/fantomas/issues/569)
Fix Unindented DU case causes compile error. [#567](https://github.com/fsprojects/fantomas/issues/567)
Fix Erroneous whitespace in chained accessors. [#566](https://github.com/fsprojects/fantomas/issues/566)
Fix Comments inside type signatures break formatting. [#565](https://github.com/fsprojects/fantomas/issues/565)
Fix Hash symbol in signatures requires parens to remain. [#564](https://github.com/fsprojects/fantomas/issues/564)
Fix Stack overflow in Strict mode. [#562](https://github.com/fsprojects/fantomas/issues/562)
Fix Accessibility modifiers in DUs. [#561](https://github.com/fsprojects/fantomas/issues/561)
Fix Line comment place after lambda instead of infix function. [#559](https://github.com/fsprojects/fantomas/issues/559)
Fix Sequence expression inside computation expression outputs uncompilable code. [#553](https://github.com/fsprojects/fantomas/issues/553)
Fix Comment after [ is not preserved. [#551](https://github.com/fsprojects/fantomas/issues/551)
Fix Record update indentation incorrect around comments. [#537](https://github.com/fsprojects/fantomas/issues/537)
Fix Formatting document continuously adds new lines each time it's called. [#535](https://github.com/fsprojects/fantomas/issues/535)
Fix Comments like `(fun arg -> // comment` are lost. [#534](https://github.com/fsprojects/fantomas/issues/534)
Fix KeepNewlineAfter not respected in let binding. [#524](https://github.com/fsprojects/fantomas/issues/524)
Fix Improve formatting of lambda between parenthesis. [#523](https://github.com/fsprojects/fantomas/issues/523)
Fix Crash when using --keepNewlineAfter. [#513](https://github.com/fsprojects/fantomas/issues/513)
Fix Over-aggresive folding breaks nested lambda expressions. [#486](https://github.com/fsprojects/fantomas/issues/486)
Fix Add FormatASTRangeAsync to API. [#454](https://github.com/fsprojects/fantomas/issues/454)
Fix Intrinsic type extension member signatures are erased. [#413](https://github.com/fsprojects/fantomas/issues/413)
Fix Inconsistencies in if formatting. [#135](https://github.com/fsprojects/fantomas/issues/135)