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-alpha-026 | 7 | 8/29/2026 |
| 8.0.0-alpha-025 | 94 | 8/28/2026 |
| 8.0.0-alpha-024 | 43 | 8/28/2026 |
| 8.0.0-alpha-023 | 52 | 8/28/2026 |
| 8.0.0-alpha-022 | 272 | 8/27/2026 |
| 8.0.0-alpha-021 | 38 | 8/27/2026 |
| 8.0.0-alpha-020 | 55 | 8/27/2026 |
| 8.0.0-alpha-019 | 379 | 8/26/2026 |
| 8.0.0-alpha-018 | 42 | 8/26/2026 |
| 8.0.0-alpha-017 | 287 | 8/25/2026 |
| 8.0.0-alpha-016 | 441 | 8/25/2026 |
| 8.0.0-alpha-015 | 220 | 8/24/2026 |
| 8.0.0-alpha-014 | 126 | 8/20/2026 |
| 8.0.0-alpha-013 | 114 | 8/19/2026 |
| 8.0.0-alpha-012 | 7,137 | 4/16/2026 |
| 8.0.0-alpha-011 | 175 | 4/15/2026 |
| 8.0.0-alpha-010 | 171 | 4/15/2026 |
| 8.0.0-alpha-009 | 338 | 4/3/2026 |
| 8.0.0-alpha-003 | 151 | 3/3/2026 |
| 7.0.6 | 4,765 | 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)