fantomas 8.0.0-beta-001
See 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 |
|---|---|---|
| 8.0.7 | 1,070 | 10/5/2026 |
| 8.0.6 | 2,415 | 10/1/2026 |
| 8.0.5 | 9,593 | 9/25/2026 |
| 8.0.4 | 1,925 | 9/23/2026 |
| 8.0.3 | 528 | 9/23/2026 |
| 8.0.2 | 4,029 | 9/22/2026 |
| 8.0.1 | 1,753 | 9/21/2026 |
| 8.0.0 | 29,969 | 9/15/2026 |
| 8.0.0-beta-003 | 1,015 | 9/12/2026 |
| 8.0.0-beta-002 | 330 | 9/8/2026 |
| 8.0.0-beta-001 | 866 | 9/1/2026 |
| 8.0.0-alpha-026 | 347 | 8/29/2026 |
| 8.0.0-alpha-025 | 232 | 8/28/2026 |
| 8.0.0-alpha-024 | 130 | 8/28/2026 |
| 8.0.0-alpha-023 | 138 | 8/28/2026 |
| 8.0.0-alpha-022 | 356 | 8/27/2026 |
| 8.0.0-alpha-021 | 119 | 8/27/2026 |
| 8.0.0-alpha-020 | 134 | 8/27/2026 |
| 8.0.0-alpha-019 | 463 | 8/26/2026 |
| 8.0.0-alpha-018 | 128 | 8/26/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)