Fantomas 4.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fantomas --version 4.6.0
                    
NuGet\Install-Package Fantomas -Version 4.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fantomas" Version="4.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fantomas" Version="4.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Fantomas" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fantomas --version 4.6.0
                    
#r "nuget: Fantomas, 4.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fantomas@4.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fantomas&version=4.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Fantomas&version=4.6.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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-002 308 12/15/2025
8.0.0-alpha-001 112 12/12/2025
7.0.5 33,200 12/5/2025
7.0.4 1,036 12/5/2025
7.0.3 83,299 7/4/2025
7.0.2 37,365 5/28/2025
7.0.1 50,368 2/21/2025
7.0.0 59,785 1/10/2025
7.0.0-beta-001 329 12/30/2024
7.0.0-alpha-004 1,064 12/12/2024
7.0.0-alpha-003 1,136 11/29/2024
7.0.0-alpha-002 367 11/2/2024
7.0.0-alpha-001 221 9/16/2024
6.3.16 68,792 10/29/2024
6.3.15 36,156 9/14/2024
6.3.14 870 9/14/2024
6.3.13 3,255 9/10/2024
6.3.12 12,683 9/5/2024
6.3.11 28,797 8/16/2024
4.6.0 2,455 1/14/2022
Loading failed

Unify Fantomas versions across editors. [#1844](https://github.com/fsprojects/fantomas/issues/1844)
Update formatting types in signatures (See [fslang-design](https://github.com/fsharp/fslang-design/issues/644)). [#1994](https://github.com/fsprojects/fantomas/pull/1994)
Feature Editor.config: insert_final_newline. [#2002](https://github.com/fsprojects/fantomas/issues/2002)
Read editorconfig settings before overwriting settings with request configuration. [#2006](https://github.com/fsprojects/fantomas/pull/2006)
Expose configuration documentation in Fantomas.Daemon [#1956](https://github.com/fsprojects/fantomas/pull/1956)
Update FCS to 41.0.1 [#1949](https://github.com/fsprojects/fantomas/pull/1949)
Wider default fsharp_max_value_binding_width. [#1947](https://github.com/fsprojects/fantomas/pull/1947)
Update FCS to 41.0.0-preview.21472.3 [#1927](https://github.com/fsprojects/fantomas/pull/1927)
Update record should indent from the curly brace instead of the identifier. [#1876](https://github.com/fsprojects/fantomas/issues/1876)
Update style of lambda argument. [#1871](https://github.com/fsprojects/fantomas/issues/1871)
Update to FCS 40.0.1-preview.21352.5
Fix Comment lost between attribute and nested module [#2016](https://github.com/fsprojects/fantomas/issues/2016)
Fix Incorrect new array indexing formatting. [#1985](https://github.com/fsprojects/fantomas/issues/1985)
Fix Idempotency problem when exception definition used in signature file. [#1974](https://github.com/fsprojects/fantomas/issues/1974)
Fix Create parsingOption via CodeFormatterImpl helper. [#1946](https://github.com/fsprojects/fantomas/pull/1946)
Fix Explicit call of active pattern fails. [#1937](https://github.com/fsprojects/fantomas/issues/1937)
Fix Idempotency problem when destructing a record inside a lambda argument. [#1922](https://github.com/fsprojects/fantomas/issues/1922)
Fix Exception with boolean constant in #if. [#2013](https://github.com/fsprojects/fantomas/issues/2013)