Fantomas.Extras 4.1.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package Fantomas.Extras -Version 4.1.0
dotnet add package Fantomas.Extras --version 4.1.0
<PackageReference Include="Fantomas.Extras" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fantomas.Extras --version 4.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fantomas.Extras, 4.1.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Ignore files by `.fantomasignore` file. [#420](https://github.com/fsprojects/fantomas/issues/420)
Limit trivia by AST MainNode name. [#992](https://github.com/fsprojects/fantomas/pull/992)
Lead by example. [#666](https://github.com/fsprojects/fantomas/issues/666)
Verify all unit test whether the formatted code is valid. [#842](https://github.com/fsprojects/fantomas/issues/842)
Fix Comments get dropped from the end of multi-line records. [#1124](https://github.com/fsprojects/fantomas/issues/1124)
Fix Functions in nested modules which follow a type consisting of only one member of a DU are un-nested from that module. [#1123](https://github.com/fsprojects/fantomas/issues/1123)
Fix After discriminated union in module wrongly indented. [#1122](https://github.com/fsprojects/fantomas/issues/1122)
Fix Extra whitespace with a type which has an attribute. [#1116](https://github.com/fsprojects/fantomas/issues/1116)
Fix Adds newline between comments and (all but the first) attribute. [#1108](https://github.com/fsprojects/fantomas/issues/1108)
Fix Extra whitespace lines added in fsi files at the end of a nested module declaration. [#1105](https://github.com/fsprojects/fantomas/issues/1105)
Fix Extra new line is added before attributes. [#1097](https://github.com/fsprojects/fantomas/issues/1097)
Fix Comments after closing brace are lost. [#1096](https://github.com/fsprojects/fantomas/issues/1096)
Fix Comment after Or operator lost. [#1095](https://github.com/fsprojects/fantomas/issues/1095)
Fix Trivia before bar is being repeated. [#1083](https://github.com/fsprojects/fantomas/issues/1083)
Fix Comment after arrow is being duplicated. [#1082](https://github.com/fsprojects/fantomas/issues/1082)
Fix Allow line break after return to avoid excessive indenting/aligning. [#1062](https://github.com/fsprojects/fantomas/issues/1062)
Fix Name of static members are removed/empty. [#1059](https://github.com/fsprojects/fantomas/issues/1059)
Fix When using parenthesis in type definition it will sometimes keep adding additional () for each time fantomas i run. [#1057](https://github.com/fsprojects/fantomas/issues/1057)
Fix Multiline string in use expression. [#1055](https://github.com/fsprojects/fantomas/issues/1055)
Fix Issue #246 has returned in v4.0.0. [#1051](https://github.com/fsprojects/fantomas/issues/1051)
Fix Indentation after multiple hash directives is off. [#1026](https://github.com/fsprojects/fantomas/issues/1026)
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)

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.5.0-alpha-001 87 2/26/2021
4.4.0 101 2/25/2021
4.4.0-beta-008 69 2/19/2021
4.4.0-beta-007 56 2/12/2021
4.4.0-beta-006 37 2/12/2021
4.4.0-beta-005 26 2/9/2021
4.4.0-beta-004 47 2/5/2021
4.4.0-beta-003 482 1/30/2021
4.4.0-beta-002 40 1/23/2021
4.4.0-beta-001 453 1/22/2021
4.4.0-alpha-008 261 1/15/2021
4.4.0-alpha-007 307 12/26/2020
4.4.0-alpha-006 138 12/25/2020
4.4.0-alpha-005 210 12/23/2020
4.4.0-alpha-004 257 12/22/2020
4.4.0-alpha-003 210 12/18/2020
4.4.0-alpha-002 169 12/17/2020
4.4.0-alpha-001 79 12/17/2020
4.3.0 1,238 12/17/2020
4.3.0-beta-002 167 12/11/2020
4.3.0-beta-001 101 12/7/2020
4.3.0-alpha-007 123 11/21/2020
4.3.0-alpha-006 103 11/20/2020
4.3.0-alpha-005 82 11/16/2020
4.3.0-alpha-004 577 11/12/2020
4.3.0-alpha-003 82 11/10/2020
4.3.0-alpha-002 113 10/26/2020
4.3.0-alpha-001 141 10/23/2020
4.2.0 2,293 9/25/2020
4.2.0-alpha-004 284 9/23/2020
4.2.0-alpha-003 106 9/21/2020
4.2.0-alpha-002 153 9/19/2020
4.2.0-alpha-001 129 9/18/2020
4.1.1 275 9/17/2020
4.1.0 550 9/10/2020
4.1.0-beta-004 271 9/5/2020
4.1.0-beta-003 169 9/4/2020
4.1.0-beta-002 548 9/4/2020
4.1.0-beta-001 138 9/3/2020
4.1.0-alpha-001 130 9/1/2020
4.0.0 766 8/27/2020
4.0.0-beta-003 164 8/21/2020
4.0.0-beta-002 234 8/7/2020
Show less