Fantomas.FCS 5.0.2

.NET Standard 2.0
There is a newer prerelease version of this package available.
See the version list below for details.
NuGet\Install-Package Fantomas.FCS -Version 5.0.2
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.
dotnet add package Fantomas.FCS --version 5.0.2
<PackageReference Include="Fantomas.FCS" Version="5.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fantomas.FCS --version 5.0.2
#r "nuget: Fantomas.FCS, 5.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fantomas.FCS as a Cake Addin
#addin nuget:?package=Fantomas.FCS&version=5.0.2

// Install Fantomas.FCS as a Cake Tool
#tool nuget:?package=Fantomas.FCS&version=5.0.2

Fantomas

Fantomas logo

GitHub Workflow Status (event) Discord Nuget (with prereleases)

F# source code formatter, inspired by scalariform for Scala, ocp-indent for OCaml and PythonTidy for Python.

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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fantomas.FCS:

Package Downloads
Fantomas.Core

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.0-alpha-001 64 9/18/2022
5.0.2 30 9/22/2022
5.0.1 57 9/18/2022
5.0.0 478 9/16/2022
5.0.0-beta-010 125 9/10/2022
5.0.0-beta-009 499 9/2/2022
5.0.0-beta-008 308 8/30/2022
5.0.0-beta-007 219 8/19/2022
5.0.0-beta-006 103 8/12/2022
5.0.0-beta-005 110 8/3/2022
5.0.0-beta-004 63 7/27/2022
5.0.0-beta-003 85 7/26/2022
5.0.0-beta-002 74 7/19/2022
5.0.0-beta-001 78 7/15/2022
5.0.0-alpha-011 122 7/8/2022
5.0.0-alpha-010 100 6/27/2022
5.0.0-alpha-009 55 6/21/2022
5.0.0-alpha-008 65 5/28/2022
5.0.0-alpha-007 171 5/16/2022
5.0.0-alpha-006 90 5/13/2022
5.0.0-alpha-005 64 5/7/2022
5.0.0-alpha-004 95 5/7/2022
5.0.0-alpha-003 62 5/6/2022

### Fixed

* * Wrong generic constraint placement in ML-style generic definitions with multiple type parameters. [#1868](https://github.com/fsprojects/fantomas/issues/1868)
* * Incorrect async indentation when inside of a match. [#2501](https://github.com/fsprojects/fantomas/issues/2501)
* * Conditional directives before expression leads to invalid code with Stroustrup. [#2517](https://github.com/fsprojects/fantomas/issues/2517)

### Documented

* * Building Fantomas in Visual Studio for dev errors. [#2447](https://github.com/fsprojects/fantomas/issues/2447)