fantomas 5.2.0-alpha-008

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.2.0-alpha-008
                    
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.2.0-alpha-008
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fantomas&version=5.2.0-alpha-008&prerelease
                    
nuke :add-package fantomas --version 5.2.0-alpha-008
                    

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 116,127 12/5/2025
7.0.4 1,315 12/5/2025
7.0.3 113,829 7/4/2025
7.0.2 43,555 5/28/2025
7.0.1 59,199 2/21/2025
7.0.0 70,858 1/10/2025
7.0.0-beta-001 342 12/30/2024
5.2.0-alpha-008 1,451 12/28/2022
Loading failed

### Fixes

* * else followed by //comment and then if has incorrect indention. [#2449](https://github.com/fsprojects/fantomas/issues/2449)
* * Multiple List concat operators are not seen as the same operator. [#2472](https://github.com/fsprojects/fantomas/issues/2472)
* * Multiline string inside lambda expression fails to format. [#1299](https://github.com/fsprojects/fantomas/issues/1299)
* * Can't format fragment of source code with #if element, and keyword, and triple-slash comment. [#2360](https://github.com/fsprojects/fantomas/issues/2360)
* * Wrong formatting applied to fragment of code with #if clause. [#2361](https://github.com/fsprojects/fantomas/issues/2361)
* * Comment in middle of pattern fail formatting. [#1939](https://github.com/fsprojects/fantomas/issues/1939)