fantomas-tool
4.5.0-alpha-002
See the version list below for details.
dotnet tool install --global fantomas-tool --version 4.5.0-alpha-002
dotnet new tool-manifest
dotnet tool install --local fantomas-tool --version 4.5.0-alpha-002
#tool dotnet:?package=fantomas-tool&version=4.5.0-alpha-002&prerelease
nuke :add-package fantomas-tool --version 4.5.0-alpha-002
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 | netcoreapp3.1 is compatible. |
This package has no dependencies.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 5.0.0-alpha-002 | 1,961 | 4/4/2022 | |
| 5.0.0-alpha-001 | 881 | 3/19/2022 | |
| 4.7.9 | 102,564 | 5/2/2022 | |
| 4.7.8 | 3,660 | 4/25/2022 | |
| 4.7.7 | 9,863 | 4/20/2022 | |
| 4.7.6 | 94,206 | 4/4/2022 | |
| 4.7.5 | 9,315 | 3/27/2022 | |
| 4.7.4 | 1,181 | 3/25/2022 | |
| 4.7.3 | 10,337 | 3/12/2022 | |
| 4.7.2 | 90,977 | 3/11/2022 | |
| 4.7.1 | 20,588 | 3/8/2022 | |
| 4.7.0 | 7,694 | 3/4/2022 | |
| 4.6.6 | 894 | 3/4/2022 | |
| 4.6.5 | 71,544 | 2/18/2022 | |
| 4.6.4 | 5,728 | 2/11/2022 | |
| 4.6.3 | 5,546 | 2/8/2022 | |
| 4.6.2 | 2,741 | 2/6/2022 | |
| 4.6.1 | 8,309 | 2/1/2022 | |
| 4.6.0 | 97,420 | 1/14/2022 | |
| 4.6.0-beta-001 | 928 | 1/8/2022 | |
| 4.6.0-alpha-011 | 1,865 | 12/29/2021 | |
| 4.6.0-alpha-010 | 1,726 | 12/4/2021 | |
| 4.6.0-alpha-009 | 3,701 | 11/24/2021 | |
| 4.6.0-alpha-008 | 1,230 | 11/19/2021 | |
| 4.6.0-alpha-007 | 1,458 | 11/7/2021 | |
| 4.6.0-alpha-006 | 1,448 | 11/3/2021 | |
| 4.6.0-alpha-005 | 953 | 10/27/2021 | |
| 4.6.0-alpha-004 | 38,961 | 10/20/2021 | |
| 4.6.0-alpha-003 | 860 | 10/5/2021 | |
| 4.6.0-alpha-002 | 687 | 9/7/2021 | |
| 4.6.0-alpha-001 | 613 | 8/11/2021 | |
| 4.5.12 | 1,331 | 1/8/2022 | |
| 4.5.11 | 2,538 | 12/29/2021 | |
| 4.5.10 | 9,071 | 12/4/2021 | |
| 4.5.9 | 8,171 | 11/24/2021 | |
| 4.5.8 | 2,696 | 11/19/2021 | |
| 4.5.7 | 1,788 | 11/7/2021 | |
| 4.5.6 | 1,966 | 11/3/2021 | |
| 4.5.5 | 1,448 | 10/27/2021 | |
| 4.5.4 | 12,503 | 10/5/2021 | |
| 4.5.3 | 8,807 | 9/7/2021 | |
| 4.5.2 | 13,312 | 8/11/2021 | |
| 4.5.1 | 5,588 | 7/24/2021 | |
| 4.5.0 | 82,875 | 7/7/2021 | |
| 4.5.0-beta-005 | 680 | 7/6/2021 | |
| 4.5.0-beta-004 | 575 | 7/5/2021 | |
| 4.5.0-beta-003 | 721 | 7/5/2021 | |
| 4.5.0-beta-002 | 1,160 | 6/27/2021 | |
| 4.5.0-beta-001 | 2,711 | 6/5/2021 | |
| 4.5.0-alpha-020 | 672 | 5/26/2021 | |
| 4.5.0-alpha-019 | 1,036 | 5/22/2021 | |
| 4.5.0-alpha-018 | 692 | 5/21/2021 | |
| 4.5.0-alpha-017 | 941 | 5/15/2021 | |
| 4.5.0-alpha-016 | 676 | 5/9/2021 | |
| 4.5.0-alpha-015 | 848 | 5/8/2021 | |
| 4.5.0-alpha-014 | 903 | 4/30/2021 | |
| 4.5.0-alpha-013 | 803 | 4/27/2021 | |
| 4.5.0-alpha-012 | 688 | 4/23/2021 | |
| 4.5.0-alpha-011 | 940 | 4/20/2021 | |
| 4.5.0-alpha-010 | 948 | 4/14/2021 | |
| 4.5.0-alpha-009 | 656 | 4/11/2021 | |
| 4.5.0-alpha-008 | 946 | 4/8/2021 | |
| 4.5.0-alpha-007 | 781 | 4/8/2021 | |
| 4.5.0-alpha-006 | 687 | 4/5/2021 | |
| 4.5.0-alpha-005 | 1,191 | 4/3/2021 | |
| 4.5.0-alpha-004 | 716 | 4/2/2021 | |
| 4.5.0-alpha-003 | 1,003 | 3/28/2021 | |
| 4.5.0-alpha-002 | 874 | 3/22/2021 | |
| 4.5.0-alpha-001 | 5,243 | 2/26/2021 | |
| 4.4.0 | 30,229 | 2/25/2021 | |
| 4.4.0-beta-008 | 1,055 | 2/19/2021 | |
| 4.4.0-beta-007 | 641 | 2/12/2021 | |
| 4.4.0-beta-006 | 922 | 2/12/2021 | |
| 4.4.0-beta-005 | 749 | 2/9/2021 | |
| 4.4.0-beta-004 | 954 | 2/5/2021 | |
| 4.4.0-beta-003 | 1,018 | 1/30/2021 | |
| 4.4.0-beta-002 | 826 | 1/23/2021 | |
| 4.4.0-beta-001 | 760 | 1/22/2021 | |
| 4.4.0-alpha-008 | 811 | 1/15/2021 | |
| 4.4.0-alpha-007 | 3,138 | 12/26/2020 | |
| 4.4.0-alpha-006 | 778 | 12/25/2020 | |
| 4.4.0-alpha-005 | 798 | 12/23/2020 | |
| 4.4.0-alpha-004 | 755 | 12/22/2020 | |
| 4.4.0-alpha-003 | 826 | 12/18/2020 | |
| 4.4.0-alpha-002 | 730 | 12/17/2020 | |
| 4.4.0-alpha-001 | 730 | 12/17/2020 | |
| 4.3.0 | 6,645 | 12/17/2020 | |
| 4.3.0-beta-002 | 788 | 12/11/2020 | |
| 4.3.0-beta-001 | 761 | 12/7/2020 | |
| 4.3.0-alpha-007 | 793 | 11/21/2020 | |
| 4.3.0-alpha-006 | 783 | 11/20/2020 | |
| 4.3.0-alpha-005 | 799 | 11/16/2020 | |
| 4.3.0-alpha-004 | 764 | 11/12/2020 | |
| 4.3.0-alpha-003 | 738 | 11/10/2020 | |
| 4.3.0-alpha-002 | 811 | 10/26/2020 | |
| 4.3.0-alpha-001 | 1,753 | 10/23/2020 | |
| 4.2.0 | 6,732 | 9/25/2020 | |
| 4.2.0-alpha-004 | 923 | 9/23/2020 | |
| 4.2.0-alpha-003 | 792 | 9/21/2020 | |
| 4.2.0-alpha-002 | 860 | 9/19/2020 | |
| 4.2.0-alpha-001 | 837 | 9/18/2020 | |
| 4.1.1 | 2,439 | 9/17/2020 | |
| 4.1.0 | 1,540 | 9/10/2020 | |
| 4.1.0-beta-004 | 982 | 9/5/2020 | |
| 4.1.0-beta-003 | 847 | 9/4/2020 | |
| 4.1.0-beta-002 | 851 | 9/4/2020 | |
| 4.1.0-beta-001 | 815 | 9/3/2020 | |
| 4.1.0-alpha-001 | 786 | 9/1/2020 | |
| 4.0.0 | 3,426 | 8/27/2020 | |
| 4.0.0-beta-003 | 872 | 8/21/2020 | |
| 4.0.0-beta-002 | 1,320 | 8/7/2020 | |
| 4.0.0-beta-001 | 1,062 | 7/20/2020 | |
| 4.0.0-alpha-014 | 803 | 7/14/2020 | |
| 4.0.0-alpha-013 | 807 | 7/11/2020 | |
| 4.0.0-alpha-012 | 1,123 | 7/6/2020 | |
| 4.0.0-alpha-011 | 745 | 6/25/2020 | |
| 4.0.0-alpha-010 | 780 | 6/18/2020 | |
| 4.0.0-alpha-009 | 747 | 6/12/2020 | |
| 4.0.0-alpha-008 | 806 | 6/2/2020 | |
| 4.0.0-alpha-007 | 751 | 6/1/2020 | |
| 4.0.0-alpha-006 | 872 | 5/23/2020 | |
| 4.0.0-alpha-005 | 1,012 | 5/16/2020 | |
| 4.0.0-alpha-004 | 1,291 | 5/4/2020 | |
| 4.0.0-alpha-003 | 840 | 5/3/2020 | |
| 4.0.0-alpha-002 | 814 | 4/26/2020 | |
| 4.0.0-alpha-001 | 799 | 4/20/2020 | |
| 3.3.0 | 80,315 | 2/28/2020 | |
| 3.3.0-beta-002 | 1,302 | 2/21/2020 | |
| 3.3.0-beta-001 | 850 | 2/18/2020 | |
| 3.2.0 | 3,114 | 2/3/2020 | |
| 3.2.0-beta-002 | 1,055 | 1/7/2020 | |
| 3.2.0-beta-001 | 864 | 12/26/2019 | |
| 3.1.0 | 12,492 | 11/27/2019 | |
| 3.0.0 | 1,678 | 10/11/2019 | |
| 3.0.0-beta-006 | 832 | 10/2/2019 | |
| 3.0.0-beta-005 | 849 | 9/27/2019 | |
| 3.0.0-beta-004 | 853 | 9/18/2019 | |
| 3.0.0-beta-003 | 907 | 9/13/2019 | |
| 3.0.0-beta-002 | 1,218 | 7/20/2019 | |
| 3.0.0-beta-001 | 1,105 | 7/12/2019 | |
| 2.9.2 | 6,644 | 2/2/2019 | |
| 2.9.1 | 1,986 | 11/20/2018 | |
| 2.9.0 | 1,594 | 10/17/2018 | |
| 2.8.1 | 1,568 | 9/12/2018 | |
| 2.8.0 | 2,037 | 7/7/2018 |
Initial support of KeepIndentInBranch. [#1361](https://github.com/fsprojects/fantomas/issues/1361)
Improve: Collect empty define block as single trivia. [#1528](https://github.com/fsprojects/fantomas/pull/1528)
Improve: Refactor ASTTransformer. [#1497](https://github.com/fsprojects/fantomas/pull/1497)
Improve: replace genTypeByLookup with Trivia. [#594](https://github.com/fsprojects/fantomas/issues/594)
Fix DotGet infix expression. [#1529](https://github.com/fsprojects/fantomas/issues/1529)
Fix SynPat.Or should have the same indent. [#1522](https://github.com/fsprojects/fantomas/issues/1522)
Fix DotGet with parenthesis. [#1521](https://github.com/fsprojects/fantomas/issues/1521)
Fix Trivia regressions around SynConst. [#1518](https://github.com/fsprojects/fantomas/issues/1518)
Fix Long signatures have additonal newline inserted and don't respect the indent from the config. [#1515](https://github.com/fsprojects/fantomas/issues/1515)
Fix Bad formatting when using elmish style + empty arrays. [#1510](https://github.com/fsprojects/fantomas/issues/1510)
Fix \xHH escapes in string literal are expanded. [#1508](https://github.com/fsprojects/fantomas/issues/1508)
Fix Indentation of pattern match clause. [#1501](https://github.com/fsprojects/fantomas/issues/1501)
Fix Class parameters expands unit for long lines. [#1494](https://github.com/fsprojects/fantomas/issues/1494)
Fix Comments inside Elmish gets repeated. [#1347](https://github.com/fsprojects/fantomas/issues/1347)