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-012 | 925 | 4/16/2026 |
| 8.0.0-alpha-011 | 145 | 4/15/2026 |
| 8.0.0-alpha-010 | 137 | 4/15/2026 |
| 8.0.0-alpha-009 | 259 | 4/3/2026 |
| 8.0.0-alpha-008 | 152 | 3/25/2026 |
| 8.0.0-alpha-007 | 161 | 3/10/2026 |
| 8.0.0-alpha-006 | 126 | 3/9/2026 |
| 8.0.0-alpha-005 | 114 | 3/9/2026 |
| 8.0.0-alpha-004 | 113 | 3/7/2026 |
| 8.0.0-alpha-003 | 127 | 3/3/2026 |
| 8.0.0-alpha-002 | 352 | 12/15/2025 |
| 8.0.0-alpha-001 | 155 | 12/12/2025 |
| 7.0.5 | 162,948 | 12/5/2025 |
| 7.0.4 | 1,441 | 12/5/2025 |
| 7.0.3 | 126,286 | 7/4/2025 |
| 7.0.2 | 45,577 | 5/28/2025 |
| 7.0.1 | 62,526 | 2/21/2025 |
| 7.0.0 | 78,823 | 1/10/2025 |
| 7.0.0-beta-001 | 359 | 12/30/2024 |
| 7.0.0-alpha-004 | 1,100 | 12/12/2024 |
### 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)