fantomas 8.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global fantomas --version 8.0.2
                    
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 8.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fantomas&version=8.0.2
                    
nuke :add-package fantomas --version 8.0.2
                    

Fantomas

Fantomas logo

GitHub Workflow Status (event) Discord Nuget (with prereleases) llms.txt llms-full.txt

An opinionated F# source code formatter.

dotnet tool install fantomas

Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html

If you point a coding agent at Fantomas, give it llms.txt for an index of the documentation, or llms-full.txt for all of it in one file.

Contributing Guidelines

See the Contribution Guidelines and our contributors documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.6 923 10/1/2026
8.0.5 7,010 9/25/2026
8.0.4 1,815 9/23/2026
8.0.3 425 9/23/2026
8.0.2 3,924 9/22/2026
8.0.1 1,634 9/21/2026
8.0.0 25,743 9/15/2026
8.0.0-beta-003 1,013 9/12/2026
8.0.0-beta-002 328 9/8/2026
8.0.0-beta-001 803 9/1/2026
8.0.0-alpha-026 346 8/29/2026
8.0.0-alpha-025 231 8/28/2026
8.0.0-alpha-024 129 8/28/2026
8.0.0-alpha-023 137 8/28/2026
8.0.0-alpha-022 353 8/27/2026
8.0.0-alpha-021 118 8/27/2026
8.0.0-alpha-020 133 8/27/2026
8.0.0-alpha-019 462 8/26/2026
8.0.0-alpha-018 125 8/26/2026
8.0.0-alpha-017 3,412 8/25/2026
Loading failed

### Fixed

- Code comment inside match-expression leads to additional blank line. A comment that ends the multi-line body of a `match` clause, and then any blank lines the author kept after it, came out with one blank line more than the source had. The same happened before `else`, `finally`, `end` and the next field of a record, whenever the indented body before them ended in a comment. Since `8.0.0` the unindent that closes such a body leaves the comment's newline at the very end of what was written, and the separator the enclosing construct writes next then opened a second line. Those separators now skip their newline when the comment already wrote one, as the closing brace of a record has done since `8.0.0`. Blank lines the author kept, and the ones Fantomas puts between multi-line members and bindings, are unchanged. [#3484](https://github.com/fsprojects/fantomas/issues/3484)