fantomas 5.1.0-alpha-005

This is a prerelease version of fantomas.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global fantomas --version 5.1.0-alpha-005
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local fantomas --version 5.1.0-alpha-005
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fantomas&version=5.1.0-alpha-005&prerelease
                    
nuke :add-package fantomas --version 5.1.0-alpha-005
                    

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 net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
8.0.0-alpha-012 139 4/16/2026
8.0.0-alpha-011 123 4/15/2026
8.0.0-alpha-010 117 4/15/2026
8.0.0-alpha-009 206 4/3/2026
8.0.0-alpha-008 127 3/25/2026
8.0.0-alpha-007 140 3/10/2026
8.0.0-alpha-006 105 3/9/2026
8.0.0-alpha-005 102 3/9/2026
8.0.0-alpha-004 95 3/7/2026
8.0.0-alpha-003 108 3/3/2026
8.0.0-alpha-002 340 12/15/2025
8.0.0-alpha-001 133 12/12/2025
7.0.5 117,449 12/5/2025
7.0.4 1,321 12/5/2025
7.0.3 114,109 7/4/2025
7.0.2 43,590 5/28/2025
7.0.1 59,274 2/21/2025
7.0.0 71,080 1/10/2025
7.0.0-beta-001 342 12/30/2024
5.1.0-alpha-005 1,325 10/7/2022
Loading failed

### 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)