Fantomas 4.1.0-alpha-001
See the version list below for details.
dotnet add package Fantomas --version 4.1.0-alpha-001
NuGet\Install-Package Fantomas -Version 4.1.0-alpha-001
<PackageReference Include="Fantomas" Version="4.1.0-alpha-001" />
<PackageVersion Include="Fantomas" Version="4.1.0-alpha-001" />
<PackageReference Include="Fantomas" />
paket add Fantomas --version 4.1.0-alpha-001
#r "nuget: Fantomas, 4.1.0-alpha-001"
#:package Fantomas@4.1.0-alpha-001
#addin nuget:?package=Fantomas&version=4.1.0-alpha-001&prerelease
#tool nuget:?package=Fantomas&version=4.1.0-alpha-001&prerelease
This library aims at formatting F# source files based on a given configuration.
Fantomas will ensure correct indentation and consistent spacing between elements in the source files.
Some common use cases include
(1) Reformatting a code base to conform a universal page width
(2) Converting legacy code from verbose syntax to light syntax
(3) Formatting auto-generated F# signatures.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Compiler.Service (>= 37.0.0)
- FSharp.Core (>= 4.7.2)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Fantomas:
| Package | Downloads |
|---|---|
|
dotnet-fantomas
This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures. |
|
|
Falanx.Machinery
Package Description |
|
|
GiraffeGenerator.Core
Package Description |
|
|
CellScript.FCS
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-alpha-009 | 114 | 4/3/2026 |
| 8.0.0-alpha-008 | 118 | 3/25/2026 |
| 8.0.0-alpha-007 | 123 | 3/10/2026 |
| 8.0.0-alpha-006 | 89 | 3/9/2026 |
| 8.0.0-alpha-005 | 89 | 3/9/2026 |
| 8.0.0-alpha-004 | 85 | 3/7/2026 |
| 8.0.0-alpha-003 | 96 | 3/3/2026 |
| 8.0.0-alpha-002 | 332 | 12/15/2025 |
| 8.0.0-alpha-001 | 125 | 12/12/2025 |
| 7.0.5 | 86,732 | 12/5/2025 |
| 7.0.4 | 1,260 | 12/5/2025 |
| 7.0.3 | 107,445 | 7/4/2025 |
| 7.0.2 | 41,834 | 5/28/2025 |
| 7.0.1 | 56,713 | 2/21/2025 |
| 7.0.0 | 67,054 | 1/10/2025 |
| 7.0.0-beta-001 | 339 | 12/30/2024 |
| 7.0.0-alpha-004 | 1,082 | 12/12/2024 |
| 7.0.0-alpha-003 | 1,281 | 11/29/2024 |
| 7.0.0-alpha-002 | 380 | 11/2/2024 |
| 4.1.0-alpha-001 | 1,336 | 9/1/2020 |
Blacklist files or code blocks by `.fantomasignore` file. [#420](https://github.com/fsprojects/fantomas/issues/420)
Verify all unit test whether the formatted code is valid. [#842](https://github.com/fsprojects/fantomas/issues/842)
Limit trivia by AST MainNode name. [#992](https://github.com/fsprojects/fantomas/pull/992)
Fix if/then/else indented too far. [#1054](https://github.com/fsprojects/fantomas/issues/1054)
Fix Single AST node should contain trivia. [#1031](https://github.com/fsprojects/fantomas/issues/1031)
Fix Formatter adds extra newlines between type and any subsequent val in .fsi files. [#1029](https://github.com/fsprojects/fantomas/issues/1029)
Fix Comments in if/then/else statements are sometimes deleted. [#1019](https://github.com/fsprojects/fantomas/issues/1019)
Fix Moves type name around when writing constrained type defintions. [#1018](https://github.com/fsprojects/fantomas/issues/1018)
Fix Line break before bracket on long method call followed by member access causes semantic change. [#994](https://github.com/fsprojects/fantomas/issues/994)
Fix Long union case should be split over multiple lines. [#972](https://github.com/fsprojects/fantomas/issues/972)
Fix FSI formatting does the wrong thing with comments on single-case DU. [#965](https://github.com/fsprojects/fantomas/issues/965)
Fix Invalid unit test ``should break lines on multiline if conditions``. [#863](https://github.com/fsprojects/fantomas/issues/863)
Fix Abstract member declarations don't follow page width. [#435](https://github.com/fsprojects/fantomas/issues/435)