Skip to content

v5.2.0-alpha-007

Pre-release
Pre-release
Compare
Choose a tag to compare
@nojaf nojaf released this 26 Dec 08:48
· 17 commits to v5.2 since this release

5.2.0-alpha-007

Hi all,

In this release, a configuration change was added for multiline brackets.

# Old
## default:
fsharp_multiline_block_brackets_on_same_column = false

## align brackets
fsharp_multiline_block_brackets_on_same_column = true

## experimental stroustrup
fsharp_multiline_block_brackets_on_same_column = true
fsharp_experimental_stroustrup_style = true

# New
## default:
fsharp_multiline_bracket_style = cramped

## align brackets
fsharp_multiline_bracket_style = aligned

## experimental stroustrup
fsharp_multiline_bracket_style = experimental_stroustrup

Both the old and new configurations will be supported in 5.2.x.
In 6.x we will likely sunset the old configuration.

Fixed

  • Comment dropped in constructor parameter list. #1872
  • Block comment before unit is missing. #2660

Changed

  • Update config to accept a single option for multiline_bracket_style. #2425

Special thanks to @josh-degraw!

https://www.nuget.org/packages/fantomas/5.2.0-alpha-007