fantomas 8.0.0-alpha-009

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

Fantomas

Fantomas logo

GitHub Workflow Status (event) Discord Nuget (with prereleases)

An opinionated F# source code formatter.

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 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.0-beta-001 128 9/1/2026
8.0.0-alpha-026 154 8/29/2026
8.0.0-alpha-025 172 8/28/2026
8.0.0-alpha-024 83 8/28/2026
8.0.0-alpha-023 94 8/28/2026
8.0.0-alpha-022 313 8/27/2026
8.0.0-alpha-021 77 8/27/2026
8.0.0-alpha-020 92 8/27/2026
8.0.0-alpha-019 420 8/26/2026
8.0.0-alpha-018 80 8/26/2026
8.0.0-alpha-017 327 8/25/2026
8.0.0-alpha-016 456 8/25/2026
8.0.0-alpha-015 226 8/24/2026
8.0.0-alpha-014 137 8/20/2026
8.0.0-alpha-013 119 8/19/2026
8.0.0-alpha-012 8,031 4/16/2026
8.0.0-alpha-011 178 4/15/2026
8.0.0-alpha-010 172 4/15/2026
8.0.0-alpha-009 341 4/3/2026
7.0.6 8,386 8/19/2026
Loading failed

### Fixed

- Comment without code after it in the current scope should retain their "parent" indentation. [#2286](https://github.com/fsprojects/fantomas/issues/2286)
- Code comment after expression is assigned to parenthesis. [#1864](https://github.com/fsprojects/fantomas/issues/1864)
- Misaligned comment in MultiLineBlockBracket. [#1716](https://github.com/fsprojects/fantomas/issues/1716)
- Comment unindented after DU cases. [#2606](https://github.com/fsprojects/fantomas/issues/2606)
- Comment on last match case has wrong indentation. [#2653](https://github.com/fsprojects/fantomas/issues/2653)
- Commented line inside of record should be indented at the same level as the fields [#2482](https://github.com/fsprojects/fantomas/issues/2482)
- Unindentation of comment before end of computation expression. [#2476](https://github.com/fsprojects/fantomas/issues/2476)
- Comments lost the indented after formatting. [#2362](https://github.com/fsprojects/fantomas/issues/2362)
- Comments can be lost or shifted when at the end of expressions. [#932](https://github.com/fsprojects/fantomas/issues/932)
- Should not move the starting point of a single-line comment. [#1233](https://github.com/fsprojects/fantomas/issues/1233)