fantomas 8.0.0-alpha-003
See the version list below for details.
dotnet tool install --global fantomas --version 8.0.0-alpha-003
dotnet new tool-manifest
dotnet tool install --local fantomas --version 8.0.0-alpha-003
#tool dotnet:?package=fantomas&version=8.0.0-alpha-003&prerelease
nuke :add-package fantomas --version 8.0.0-alpha-003
Fantomas

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 | Versions 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0 | 5,555 | 9/15/2026 |
| 8.0.0-beta-003 | 638 | 9/12/2026 |
| 8.0.0-beta-002 | 291 | 9/8/2026 |
| 8.0.0-beta-001 | 785 | 9/1/2026 |
| 8.0.0-alpha-026 | 309 | 8/29/2026 |
| 8.0.0-alpha-025 | 218 | 8/28/2026 |
| 8.0.0-alpha-024 | 118 | 8/28/2026 |
| 8.0.0-alpha-023 | 122 | 8/28/2026 |
| 8.0.0-alpha-022 | 339 | 8/27/2026 |
| 8.0.0-alpha-021 | 108 | 8/27/2026 |
| 8.0.0-alpha-020 | 122 | 8/27/2026 |
| 8.0.0-alpha-019 | 450 | 8/26/2026 |
| 8.0.0-alpha-018 | 113 | 8/26/2026 |
| 8.0.0-alpha-017 | 1,723 | 8/25/2026 |
| 8.0.0-alpha-016 | 483 | 8/25/2026 |
| 8.0.0-alpha-015 | 252 | 8/24/2026 |
| 8.0.0-alpha-014 | 168 | 8/20/2026 |
| 8.0.0-alpha-013 | 141 | 8/19/2026 |
| 8.0.0-alpha-003 | 155 | 3/3/2026 |
| 7.0.6 | 21,548 | 8/19/2026 |
### Fixed
- End of line comments after infix operators are preserved correctly. [#2287](https://github.com/fsprojects/fantomas/issues/2287)
- Lambda closing parenthesis in chained method calls is no longer placed on its own line when `MultiLineLambdaClosingNewline` is enabled. [#2553](https://github.com/fsprojects/fantomas/issues/2553)
- Long `&` (AND) patterns now break across multiple lines to respect max line length. [#1780](https://github.com/fsprojects/fantomas/issues/1780)
- Empty array with trivia inside now has correct indentation in Stroustrup style. [#3098](https://github.com/fsprojects/fantomas/issues/3098)
- Multiline function type inside parentheses gets extra indentation to avoid compiler error. [#3043](https://github.com/fsprojects/fantomas/issues/3043)
- Trivia around paren lambda with conditional compilation no longer causes merge error. [#2844](https://github.com/fsprojects/fantomas/issues/2844)
- Type app closing angle bracket padded by previous expression length. [#3179](https://github.com/fsprojects/fantomas/issues/3179)
- Dynamic operator on result of qualified function call causes formatting error. [#3135](https://github.com/fsprojects/fantomas/issues/3135)
- Long delegate type with generic args no longer breaks around arrow. [#2468](https://github.com/fsprojects/fantomas/issues/2468)
- Idempotency problem when formatting NUnit Assert.That with lambda argument. [#1740](https://github.com/fsprojects/fantomas/issues/1740)
- Comment between lines of no-break infix expression no longer loses indentation. [#2944](https://github.com/fsprojects/fantomas/issues/2944)
- Hash directives around access modifier in module declaration no longer lose indentation. [#3188](https://github.com/fsprojects/fantomas/issues/3188)