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

An opinionated F# source code formatter.
dotnet tool install fantomas
Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html
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 | 229 | 10/21/2026 |
| 9.0.0-alpha-001 | 334 | 10/15/2026 |
| 8.1.0 | 10,049 | 10/21/2026 |
| 8.0.10 | 23,489 | 10/14/2026 |
| 8.0.9 | 132 | 10/14/2026 |
| 8.0.8 | 5,252 | 10/9/2026 |
| 8.0.7 | 6,025 | 10/5/2026 |
| 8.0.6 | 3,688 | 10/1/2026 |
| 8.0.5 | 21,293 | 9/25/2026 |
| 8.0.4 | 2,204 | 9/23/2026 |
| 8.0.3 | 638 | 9/23/2026 |
| 8.0.2 | 4,194 | 9/22/2026 |
| 8.0.1 | 1,945 | 9/21/2026 |
| 8.0.0 | 45,221 | 9/15/2026 |
| 8.0.0-beta-003 | 1,030 | 9/12/2026 |
| 8.0.0-beta-002 | 356 | 9/8/2026 |
| 8.0.0-beta-001 | 1,714 | 9/1/2026 |
| 8.0.0-alpha-026 | 508 | 8/29/2026 |
| 8.0.0-alpha-025 | 247 | 8/28/2026 |
| 8.0.0-alpha-009 | 359 | 4/3/2026 |
### Fixed
- Comment without code after it in the current scope should retain their "parent" indentation. [#2286](https://github.com/fsprojects/fantomas/issues/2286)
- Code comment after expression is assigned to parenthesis. [#1864](https://github.com/fsprojects/fantomas/issues/1864)
- Misaligned comment in MultiLineBlockBracket. [#1716](https://github.com/fsprojects/fantomas/issues/1716)
- Comment unindented after DU cases. [#2606](https://github.com/fsprojects/fantomas/issues/2606)
- Comment on last match case has wrong indentation. [#2653](https://github.com/fsprojects/fantomas/issues/2653)
- Commented line inside of record should be indented at the same level as the fields [#2482](https://github.com/fsprojects/fantomas/issues/2482)
- Unindentation of comment before end of computation expression. [#2476](https://github.com/fsprojects/fantomas/issues/2476)
- Comments lost the indented after formatting. [#2362](https://github.com/fsprojects/fantomas/issues/2362)
- Comments can be lost or shifted when at the end of expressions. [#932](https://github.com/fsprojects/fantomas/issues/932)
- Should not move the starting point of a single-line comment. [#1233](https://github.com/fsprojects/fantomas/issues/1233)