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 | 620 | 10/21/2026 |
| 9.0.0-alpha-001 | 360 | 10/15/2026 |
| 8.1.1 | 8,628 | 11/3/2026 |
| 8.1.0 | 17,476 | 10/21/2026 |
| 8.0.10 | 36,045 | 10/14/2026 |
| 8.0.9 | 147 | 10/14/2026 |
| 8.0.8 | 5,911 | 10/9/2026 |
| 8.0.7 | 6,831 | 10/5/2026 |
| 8.0.6 | 3,755 | 10/1/2026 |
| 8.0.5 | 29,431 | 9/25/2026 |
| 8.0.4 | 2,387 | 9/23/2026 |
| 8.0.3 | 653 | 9/23/2026 |
| 8.0.2 | 4,219 | 9/22/2026 |
| 8.0.1 | 1,954 | 9/21/2026 |
| 8.0.0 | 49,514 | 9/15/2026 |
| 8.0.0-beta-003 | 1,043 | 9/12/2026 |
| 8.0.0-beta-002 | 375 | 9/8/2026 |
| 8.0.0-beta-001 | 1,725 | 9/1/2026 |
| 8.0.0-alpha-026 | 511 | 8/29/2026 |
| 8.0.0-alpha-025 | 254 | 8/28/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)