fantomas 8.0.0-alpha-019
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.0-alpha-019 | 0 | 8/26/2026 |
| 8.0.0-alpha-018 | 0 | 8/26/2026 |
| 8.0.0-alpha-017 | 43 | 8/25/2026 |
| 8.0.0-alpha-016 | 251 | 8/25/2026 |
| 8.0.0-alpha-015 | 210 | 8/24/2026 |
| 8.0.0-alpha-014 | 107 | 8/20/2026 |
| 8.0.0-alpha-013 | 101 | 8/19/2026 |
| 8.0.0-alpha-012 | 6,764 | 4/16/2026 |
| 8.0.0-alpha-011 | 172 | 4/15/2026 |
| 8.0.0-alpha-010 | 168 | 4/15/2026 |
| 8.0.0-alpha-009 | 334 | 4/3/2026 |
| 8.0.0-alpha-008 | 177 | 3/25/2026 |
| 8.0.0-alpha-007 | 185 | 3/10/2026 |
| 8.0.0-alpha-006 | 150 | 3/9/2026 |
| 8.0.0-alpha-005 | 137 | 3/9/2026 |
| 8.0.0-alpha-004 | 131 | 3/7/2026 |
| 8.0.0-alpha-003 | 148 | 3/3/2026 |
| 8.0.0-alpha-002 | 389 | 12/15/2025 |
| 8.0.0-alpha-001 | 188 | 12/12/2025 |
| 7.0.6 | 2,749 | 8/19/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)