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

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 | 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.5 | 2,600 | 9/25/2026 |
| 8.0.4 | 1,364 | 9/23/2026 |
| 8.0.3 | 305 | 9/23/2026 |
| 8.0.2 | 3,487 | 9/22/2026 |
| 8.0.1 | 1,485 | 9/21/2026 |
| 8.0.0 | 22,063 | 9/15/2026 |
| 8.0.0-beta-003 | 1,003 | 9/12/2026 |
| 8.0.0-beta-002 | 314 | 9/8/2026 |
| 8.0.0-beta-001 | 792 | 9/1/2026 |
| 8.0.0-alpha-026 | 340 | 8/29/2026 |
| 8.0.0-alpha-025 | 228 | 8/28/2026 |
| 8.0.0-alpha-024 | 126 | 8/28/2026 |
| 8.0.0-alpha-023 | 130 | 8/28/2026 |
| 8.0.0-alpha-022 | 348 | 8/27/2026 |
| 8.0.0-alpha-021 | 115 | 8/27/2026 |
| 8.0.0-alpha-020 | 130 | 8/27/2026 |
| 8.0.0-alpha-019 | 459 | 8/26/2026 |
| 8.0.0-alpha-018 | 119 | 8/26/2026 |
| 8.0.0-alpha-017 | 3,178 | 8/25/2026 |
| 8.0.0-alpha-016 | 490 | 8/25/2026 |
### Fixed
- A call on a constant receiver keeps its parenthesis tight, so `"yow".Substring (0, 3)` and `3L.ToString ()` come out as `"yow".Substring(0, 3)` and `3L.ToString()`. `8.0.0-alpha-018` gave a constant receiver a space it was never meant to have. The rule there says a call keeps the space only when the whole thing being called is a plain dotted name, and the comment agreed at [fslang-design#648](https://github.com/fsharp/fslang-design/issues/648) lists `"yow".Substring(0, 3)` under "a receiver that is not a name", beside `(f x)` and `[ 1; 2 ]`. The alpha carved constants back out on the reasoning that a constant is atomic rather than bracketed, which went past what was agreed and was not deliberate. A constant is a value, the rule asks for a name, so it goes tight. A type parameter really is a name, so `'T.set_StaticProperty (3)` is unaffected. [#3426](https://github.com/fsprojects/fantomas/pull/3426)