Skip to content

v5.0.0-alpha-010

Pre-release
Pre-release
Compare
Choose a tag to compare
@nojaf nojaf released this 27 Jun 10:33
· 128 commits to master since this release
af3ec62

5.0.0-alpha-010

Hello,

This alpha restores the ability for editors to format a selection of code.
Please check out the documentation to view the limitations of this. Note that there is a new version of Fantomas.Client meaning editor tooling will need to pick this up first before being able to integrate format selection.

During the development of format selection, the trivia node structure was changed from a list to a tree structure. This is an implementation detail but has an impact on the restoration of code comments. In short, please report any issues you encounter when upgrading to this new alpha.

Cheers,

The Fantomas team

Changed

  • Restore the FormatSelection public API. #2237
  • Refactor list of TriviaNodeAssigner to tree structure. #2271

https://www.nuget.org/packages/fantomas/5.0.0-alpha-010