Overview Q & A Rating & Review
Fantomas is an open source extension aiming at formatting F# source files based on a given configuration. It ensures 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.
Please visit the user guide page here .
For bug reports and suggestions for improvement, go to the home page .
Main features:
- Format documents
- Format selections
- Support all F# 3.1 constructs (new since v1.0.5)
- Preserve inline, multiline and block comments
- Preserve preprocessor directives
- Format cursor positions (new since v0.7.0)
- Reorder open statements (new since v0.7.0)
RELEASE NOTES:
v1.4.0 (09-08-2014):
v1.1.0 (17-04-2014):
v1.0.5 (07-01-2014):
Fully support F# 3.1 Compatible with F# on Mono Handle external functions Improve support of multiline strings Implement various bug fixes
v1.0.4 (16-11-2013):
Implement various bug fixes v1.0.3 (04-10-2013):
Implement various bug fixes Synchronize version numbers with NuGet packages v0.7.1 (11-09-2013):
Support Visual Studio 2013 (not support F# 3.1 constructs yet) v0.7.0 (16-08-2013):
Implement formatting cursor positions Implement reordering of open statements Enhance indentation of anonymous functions Add line breaks for nested let bindings Implement various bug fixes v0.5.0 (16-07-2013):
Improve formatting of signatures Improve UI interaction Enhance spacing of function applications and arguments Implement various bug fixes v0.4.1 (02-07-2013):