fantomas 8.0.0-beta-001
Prefix ReservedSee the version list below for details.
dotnet tool install --global fantomas --version 8.0.0-beta-001
dotnet new tool-manifest
dotnet tool install --local fantomas --version 8.0.0-beta-001
#tool dotnet:?package=fantomas&version=8.0.0-beta-001&prerelease
nuke :add-package fantomas --version 8.0.0-beta-001
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 |
|---|---|---|
| 9.0.0-alpha-002 | 2,178 | 10/21/2026 |
| 9.0.0-alpha-001 | 384 | 10/15/2026 |
| 8.1.3 | 9,299 | 11/19/2026 |
| 8.1.2 | 750 | 11/18/2026 |
| 8.1.1 | 17,037 | 11/3/2026 |
| 8.1.0 | 19,368 | 10/21/2026 |
| 8.0.10 | 43,746 | 10/14/2026 |
| 8.0.9 | 160 | 10/14/2026 |
| 8.0.8 | 6,413 | 10/9/2026 |
| 8.0.7 | 7,357 | 10/5/2026 |
| 8.0.6 | 3,817 | 10/1/2026 |
| 8.0.5 | 31,356 | 9/25/2026 |
| 8.0.4 | 2,508 | 9/23/2026 |
| 8.0.3 | 665 | 9/23/2026 |
| 8.0.2 | 4,254 | 9/22/2026 |
| 8.0.1 | 1,968 | 9/21/2026 |
| 8.0.0 | 51,448 | 9/15/2026 |
| 8.0.0-beta-003 | 1,049 | 9/12/2026 |
| 8.0.0-beta-002 | 382 | 9/8/2026 |
| 8.0.0-beta-001 | 1,746 | 9/1/2026 |
### Changed
- `=`, `>`, `<`, `%` and `%%` cannot start a line at the column of their left-hand side: there the parser reads `=`, `>` and `<` as the `=` of a binding, and reads `%` and `%%` inside a quotation as a splice. Fantomas already kept them off that column, but did so with the layout that keeps the right-hand side beside the operator whenever it is short enough to fit, which needs the page width and a column count to predict and moves a `0` around when an unrelated part of the line changes length. It now follows the rule proposed in [fsharp/fslang-design#836](https://github.com/fsharp/fslang-design/issues/836): the expression fits on one line, or it does not and the operator stays with the left-hand side while the right-hand side moves one level in, or the left-hand side itself spans several lines, in which case the operator and the right-hand side each take a line of their own. `fsharp_multiline_bracket_style = stroustrup` still overrides this for a right-hand side that opens a bracket, which keeps hugging the operator. This is the first beta of `8.0.0`: the style guide for this is not settled yet, so give it a try and report back on [the design issue](https://github.com/fsharp/fslang-design/issues/836) if something reads worse than what it replaces. [#3434](https://github.com/fsprojects/fantomas/pull/3434)