Fantomas 4.1.0-beta-004

This is a prerelease version of Fantomas.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Fantomas --version 4.1.0-beta-004
                    
NuGet\Install-Package Fantomas -Version 4.1.0-beta-004
                    
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.1.0-beta-004" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fantomas" Version="4.1.0-beta-004" />
                    
Directory.Packages.props
<PackageReference Include="Fantomas" />
                    
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 --version 4.1.0-beta-004
                    
#r "nuget: Fantomas, 4.1.0-beta-004"
                    
#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@4.1.0-beta-004
                    
#: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&version=4.1.0-beta-004&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fantomas&version=4.1.0-beta-004&prerelease
                    
Install as a Cake Tool

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.  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 (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
7.0.3 5,771 7/4/2025
7.0.2 13,751 5/28/2025
7.0.1 30,060 2/21/2025
7.0.0 39,007 1/10/2025
7.0.0-beta-001 251 12/30/2024
7.0.0-alpha-004 993 12/12/2024
7.0.0-alpha-003 736 11/29/2024
7.0.0-alpha-002 302 11/2/2024
7.0.0-alpha-001 158 9/16/2024
6.3.16 50,156 10/29/2024
6.3.15 28,141 9/14/2024
6.3.14 377 9/14/2024
6.3.13 1,409 9/10/2024
6.3.12 11,396 9/5/2024
6.3.11 24,712 8/16/2024
6.3.10 137,320 7/12/2024
6.3.9 52,492 6/9/2024
6.3.8 1,520 6/6/2024
6.3.7 2,540 6/1/2024
6.3.6 430 6/1/2024
6.3.5 1,122 5/30/2024
6.3.4 39,502 4/16/2024
6.3.3 10,202 4/12/2024
6.3.2 627 4/12/2024
6.3.1 13,510 3/30/2024
6.3.0 15,329 3/15/2024
6.3.0-beta-001 1,182 3/7/2024
6.3.0-alpha-008 868 3/1/2024
6.3.0-alpha-007 2,076 1/27/2024
6.3.0-alpha-006 868 1/9/2024
6.3.0-alpha-005 1,244 12/22/2023
6.3.0-alpha-004 1,963 12/6/2023
6.3.0-alpha-003 1,503 11/15/2023
6.3.0-alpha-002 951 11/7/2023
6.3.0-alpha-001 798 11/3/2023
6.2.3 154,533 11/2/2023
6.2.2 33,575 10/18/2023
6.2.1 10,929 9/18/2023
6.2.0 24,800 8/29/2023
6.1.3 1,556 8/25/2023
6.1.2 15,598 7/23/2023
6.1.1 78,924 6/29/2023
6.1.0 7,596 6/28/2023
6.1.0-alpha-006 1,150 6/20/2023
6.1.0-alpha-005 1,075 6/20/2023
6.1.0-alpha-004 899 6/19/2023
6.1.0-alpha-003 1,162 6/2/2023
6.1.0-alpha-002 1,035 5/2/2023
6.1.0-alpha-001 1,040 5/2/2023
6.0.8 2,127 6/20/2023
6.0.7 1,356 6/20/2023
6.0.6 1,534 6/19/2023
6.0.5 5,420 6/6/2023
6.0.4 1,384 6/2/2023
6.0.3 13,183 5/14/2023
6.0.2 4,310 5/5/2023
6.0.1 88,937 4/19/2023
6.0.0 64,914 4/13/2023
6.0.0-beta-001 1,558 4/5/2023
6.0.0-alpha-010 7,854 4/3/2023
6.0.0-alpha-009 880 3/31/2023
6.0.0-alpha-008 2,130 3/27/2023
6.0.0-alpha-007 1,408 3/27/2023
6.0.0-alpha-006 1,553 3/17/2023
6.0.0-alpha-005 2,429 2/24/2023
6.0.0-alpha-004 9,639 2/22/2023
6.0.0-alpha-003 3,043 2/4/2023
6.0.0-alpha-002 963 2/1/2023
6.0.0-alpha-001 1,090 1/24/2023
5.2.4 6,284 3/17/2023
5.2.3 5,698 3/6/2023
5.2.2 13,988 2/21/2023
5.2.1 81,769 2/4/2023
5.2.0 6,941 1/19/2023
5.2.0-alpha-012 1,230 1/14/2023
5.2.0-alpha-011 1,449 1/12/2023
5.2.0-alpha-010 1,162 12/30/2022
5.2.0-alpha-009 1,088 12/29/2022
5.2.0-alpha-008 1,341 12/28/2022
5.2.0-alpha-007 1,074 12/26/2022
5.2.0-alpha-006 1,082 12/22/2022
5.2.0-alpha-005 1,206 12/16/2022
5.2.0-alpha-004 1,319 12/8/2022
5.2.0-alpha-003 1,104 12/6/2022
5.2.0-alpha-002 1,048 12/4/2022
5.2.0-alpha-001 996 11/30/2022
5.1.5 26,063 12/22/2022
5.1.4 28,261 11/30/2022
5.1.3 8,262 11/14/2022
5.1.2 1,635 11/10/2022
5.1.1 4,137 11/7/2022
5.1.0 2,824 11/4/2022
5.1.0-beta-002 1,061 10/29/2022
5.1.0-beta-001 1,429 10/19/2022
5.1.0-alpha-007 1,102 10/14/2022
5.1.0-alpha-006 1,075 10/14/2022
5.1.0-alpha-005 1,208 10/7/2022
5.1.0-alpha-004 1,221 10/7/2022
5.1.0-alpha-003 1,231 10/2/2022
5.1.0-alpha-002 1,117 9/29/2022
5.1.0-alpha-001 1,161 9/18/2022
5.0.6 25,830 10/13/2022
5.0.5 10,552 10/7/2022
5.0.4 2,259 10/4/2022
5.0.3 11,076 9/29/2022
5.0.2 8,521 9/22/2022
5.0.1 6,616 9/18/2022
5.0.0 21,331 9/16/2022
5.0.0-beta-010 31,535 9/10/2022
5.0.0-beta-009 10,608 9/2/2022
5.0.0-beta-008 3,098 8/30/2022
5.0.0-beta-007 1,699 8/19/2022
5.0.0-beta-006 3,017 8/12/2022
5.0.0-beta-005 5,147 8/3/2022
5.0.0-beta-004 2,390 7/27/2022
5.0.0-beta-003 3,786 7/26/2022
5.0.0-beta-002 1,975 7/19/2022
5.0.0-beta-001 2,970 7/15/2022
5.0.0-alpha-011 1,703 7/8/2022
5.0.0-alpha-010 2,291 6/27/2022
5.0.0-alpha-009 94,848 6/21/2022
5.0.0-alpha-008 3,154 5/28/2022
5.0.0-alpha-007 1,915 5/16/2022
5.0.0-alpha-006 1,944 5/13/2022
5.0.0-alpha-005 1,417 5/7/2022
5.0.0-alpha-004 1,516 5/7/2022
5.0.0-alpha-003 1,983 5/6/2022
5.0.0-alpha-002 820 4/4/2022
5.0.0-alpha-001 778 3/19/2022
4.7.9 11,499 5/2/2022
4.7.8 10,632 4/25/2022
4.7.7 1,250 4/20/2022
4.7.6 1,518 4/4/2022
4.7.5 1,380 3/27/2022
4.7.4 1,346 3/25/2022
4.7.3 4,912 3/12/2022
4.7.2 1,262 3/11/2022
4.7.1 1,261 3/8/2022
4.7.0 1,383 3/4/2022
4.6.6 1,300 3/4/2022
4.6.5 2,042 2/18/2022
4.6.4 1,815 2/11/2022
4.6.3 1,861 2/8/2022
4.6.2 1,839 2/6/2022
4.6.1 1,840 2/1/2022
4.6.0 2,340 1/14/2022
4.6.0-beta-001 898 1/8/2022
4.6.0-alpha-011 885 12/29/2021
4.6.0-alpha-010 904 12/4/2021
4.6.0-alpha-009 3,531 11/24/2021
4.6.0-alpha-008 1,313 11/19/2021
4.6.0-alpha-007 931 11/7/2021
4.6.0-alpha-006 297 11/3/2021
4.6.0-alpha-005 312 10/27/2021
4.6.0-alpha-004 292 10/20/2021
4.6.0-alpha-003 277 10/5/2021
4.6.0-alpha-002 282 9/7/2021
4.6.0-alpha-001 257 8/11/2021
4.5.12 1,707 1/8/2022
4.5.11 2,493 12/29/2021
4.5.10 2,737 12/4/2021
4.5.9 7,633 11/24/2021
4.5.8 1,849 11/19/2021
4.5.7 1,679 11/7/2021
4.5.6 1,469 11/3/2021
4.5.5 1,634 10/27/2021
4.5.4 1,543 10/5/2021
4.5.3 3,029 9/7/2021
4.5.2 1,680 8/11/2021
4.5.1 3,556 7/24/2021
4.5.0 3,455 7/7/2021
4.5.0-beta-005 996 7/6/2021
4.5.0-beta-004 974 7/5/2021
4.5.0-beta-003 1,013 7/5/2021
4.5.0-beta-002 1,005 6/27/2021
4.5.0-beta-001 1,503 6/5/2021
4.5.0-alpha-020 961 5/26/2021
4.5.0-alpha-019 961 5/22/2021
4.5.0-alpha-018 994 5/21/2021
4.5.0-alpha-017 955 5/15/2021
4.5.0-alpha-016 935 5/9/2021
4.5.0-alpha-015 1,032 5/8/2021
4.5.0-alpha-014 1,068 4/30/2021
4.5.0-alpha-013 986 4/27/2021
4.5.0-alpha-012 979 4/23/2021
4.5.0-alpha-011 1,074 4/20/2021
4.5.0-alpha-010 998 4/14/2021
4.5.0-alpha-009 1,010 4/11/2021
4.5.0-alpha-008 1,000 4/8/2021
4.5.0-alpha-007 1,020 4/8/2021
4.5.0-alpha-006 971 4/5/2021
4.5.0-alpha-005 1,006 4/3/2021
4.5.0-alpha-004 1,027 4/2/2021
4.5.0-alpha-003 1,060 3/28/2021
4.5.0-alpha-002 1,038 3/22/2021
4.5.0-alpha-001 2,662 2/26/2021
4.4.0 13,527 2/25/2021
4.4.0-beta-008 1,083 2/19/2021
4.4.0-beta-007 1,077 2/12/2021
4.4.0-beta-006 1,055 2/12/2021
4.4.0-beta-005 1,119 2/9/2021
4.4.0-beta-004 1,100 2/5/2021
4.4.0-beta-003 1,553 1/30/2021
4.4.0-beta-002 1,083 1/23/2021
4.4.0-beta-001 1,496 1/22/2021
4.4.0-alpha-008 1,260 1/15/2021
4.4.0-alpha-007 1,762 12/26/2020
4.4.0-alpha-006 1,188 12/25/2020
4.4.0-alpha-005 1,257 12/23/2020
4.4.0-alpha-004 1,283 12/22/2020
4.4.0-alpha-003 1,290 12/18/2020
4.4.0-alpha-002 1,257 12/17/2020
4.4.0-alpha-001 1,162 12/17/2020
4.3.0 6,002 12/17/2020
4.3.0-beta-002 1,221 12/11/2020
4.3.0-beta-001 1,177 12/7/2020
4.3.0-alpha-007 1,185 11/21/2020
4.3.0-alpha-006 1,179 11/20/2020
4.3.0-alpha-005 1,133 11/16/2020
4.3.0-alpha-004 1,625 11/12/2020
4.3.0-alpha-003 1,221 11/10/2020
4.3.0-alpha-002 1,201 10/26/2020
4.3.0-alpha-001 1,226 10/23/2020
4.2.0 5,086 9/25/2020
4.2.0-alpha-004 1,373 9/23/2020
4.2.0-alpha-003 1,173 9/21/2020
4.2.0-alpha-002 1,235 9/19/2020
4.2.0-alpha-001 1,280 9/18/2020
4.1.1 1,872 9/17/2020
4.1.0 2,088 9/10/2020
4.1.0-beta-004 1,327 9/5/2020
4.1.0-beta-003 1,253 9/4/2020
4.1.0-beta-002 1,606 9/4/2020
4.1.0-beta-001 1,236 9/3/2020
4.1.0-alpha-001 1,204 9/1/2020
4.0.0 4,271 8/27/2020
4.0.0-beta-003 1,281 8/21/2020
4.0.0-beta-002 1,314 8/7/2020
4.0.0-beta-001 1,620 7/20/2020
4.0.0-alpha-014 1,436 7/14/2020
4.0.0-alpha-013 1,245 7/11/2020
4.0.0-alpha-012 2,084 7/6/2020
4.0.0-alpha-011 1,094 6/25/2020
4.0.0-alpha-010 1,480 6/18/2020
4.0.0-alpha-009 1,143 6/12/2020
4.0.0-alpha-008 1,276 6/2/2020
4.0.0-alpha-007 1,147 6/1/2020
4.0.0-alpha-006 2,415 5/23/2020
4.0.0-alpha-005 2,255 5/16/2020
4.0.0-alpha-004 1,568 5/4/2020
4.0.0-alpha-003 1,213 5/3/2020
4.0.0-alpha-002 1,262 4/26/2020
4.0.0-alpha-001 1,159 4/20/2020
3.3.0 13,037 2/28/2020
3.3.0-beta-002 2,099 2/21/2020
3.3.0-beta-001 1,266 2/18/2020
3.2.0 21,298 2/3/2020
3.2.0-beta-002 1,832 1/7/2020
3.2.0-beta-001 1,392 12/26/2019
3.1.0 10,783 11/27/2019
3.0.0 5,128 10/11/2019
3.0.0-beta-006 1,985 10/2/2019
3.0.0-beta-005 1,166 9/27/2019
3.0.0-beta-004 1,737 9/18/2019
3.0.0-beta-003 1,299 9/13/2019
3.0.0-beta-002 16,824 7/20/2019
3.0.0-beta-001 6,052 7/12/2019
2.9.2 25,894 2/2/2019
2.9.1 5,093 11/20/2018
2.9.0 11,514 10/17/2018
2.8.1 2,930 9/12/2018
2.8.0 6,324 7/7/2018
2.7.1 5,210 5/2/2018
2.7.0 2,874 5/2/2018
2.6.1 45,995 4/22/2017
2.5.0 3,202 2/19/2017
2.4.0 3,318 10/24/2016
2.3.0 2,969 7/9/2016
2.2.0 2,716 4/24/2016
2.1.0 2,610 4/1/2016
2.0.2 9,357 11/15/2015
1.11.0 3,146 9/12/2015
1.10.0 2,502 8/29/2015
1.9.0 2,964 8/10/2015
1.8.0-beta 2,135 7/19/2015
1.7.0 2,617 6/10/2015
1.6.0 3,512 10/25/2014
1.5.0 2,979 9/18/2014
1.4.0 3,316 7/1/2014
1.3.0 2,824 5/17/2014
1.2.0 2,848 4/21/2014
1.1.0 2,750 3/29/2014
1.0.7 2,709 3/12/2014
1.0.5.1 2,819 1/15/2014
1.0.5 2,539 1/7/2014
1.0.4 2,602 11/16/2013
1.0.3 2,626 10/6/2013
1.0.2 2,573 8/16/2013
1.0.1 2,763 7/22/2013
1.0.0 5,863 7/16/2013
0.9.9.2 2,976 7/2/2013
0.9.9.1 2,742 6/22/2013
0.9.8 2,728 6/14/2013
0.9.7 2,673 6/7/2013
0.9.6 2,681 5/31/2013
0.9.5 2,755 5/23/2013
0.9.4 2,604 5/19/2013
0.9.3 2,631 5/9/2013
0.9.2 2,656 5/3/2013
0.9.1 2,872 4/26/2013
0.9.0 2,655 4/19/2013
0.8.9 2,716 4/12/2013
0.8.8 2,672 4/11/2013
0.8.7 2,595 4/9/2013
0.8.6 2,611 4/4/2013
0.8.5 2,714 4/2/2013
0.8.4 2,628 4/1/2013
0.8.3 2,692 4/1/2013
0.8.2 2,584 4/1/2013
0.8.1 2,768 3/31/2013
0.8.0 2,703 3/31/2013

Fixed some regression introduced by [#992](https://github.com/fsprojects/fantomas/pull/992).
Fix Adds newline between comments and (all but the first) attribute. [#1108](https://github.com/fsprojects/fantomas/issues/1108)
Fix Extra whitespace lines added in fsi files at the end of a nested module declaration. [#1105](https://github.com/fsprojects/fantomas/issues/1105)