You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the aftermath of "Project Dallas" some new opportunities have surfaced for Fantomas. The Oak model could have appeal in the larger F# community. And it makes it possible to expand more on Stroustrup functionality.
In order to seize all these opportunities we have decided to announce a new major release for 2023. This removes any restrictions and allows us to tune the public API to facilitate everything.
We kicked off this conversation during one of our "talk to the developers" sessions on your Discord server. We encourage you to join this server if you haven't already. Keep an eye out for events in the #announcements channel.
Goals
We would like to expose the SyntaxOak module and provide new endpoints to format an Oak and parse an Oak from a string.
Next, we wish to expand on Stroustrup functionality by introducing a bit more granularity. Currently, Stroupstrup is an all-or-nothing situation. To a limited degree, we wish to split up some of the existing functionality.
Lastly, we wish to introduce some auxiliary features that will improve your overall Fantomas experience.
Breaking changes
The Fantomas.Core API will break and the .editorconfig will no longer be compatible with the 5.x series. In practice, not that much will change. (It will really depend on your use case). We wish to keep the changes to a minimum and provide everybody with a smooth upgrade.
Cursor API. When formatting source code programmatically you can insert a marker (range) and after formatting, we can tell you where that marker would be in the formatted code. This would be useful for editors to position the cursor after formatting. Cursor API #2727
Technical process
The plan is to do all the development on a separate v6 branch.
Bugfixing v5.2 would still happen on main.
Introduction
In the aftermath of "Project Dallas" some new opportunities have surfaced for Fantomas. The Oak model could have appeal in the larger F# community. And it makes it possible to expand more on Stroustrup functionality.
In order to seize all these opportunities we have decided to announce a new major release for 2023. This removes any restrictions and allows us to tune the public API to facilitate everything.
We kicked off this conversation during one of our "talk to the developers" sessions on your Discord server. We encourage you to join this server if you haven't already. Keep an eye out for events in the
#announcements
channel.Goals
We would like to expose the SyntaxOak module and provide new endpoints to format an
Oak
and parse anOak
from a string.Next, we wish to expand on Stroustrup functionality by introducing a bit more granularity. Currently, Stroupstrup is an all-or-nothing situation. To a limited degree, we wish to split up some of the existing functionality.
Lastly, we wish to introduce some auxiliary features that will improve your overall Fantomas experience.
Breaking changes
The
Fantomas.Core
API will break and the.editorconfig
will no longer be compatible with the5.x
series. In practice, not that much will change. (It will really depend on your use case). We wish to keep the changes to a minimum and provide everybody with a smooth upgrade.Proposed scope
Change
Deprecate
fsharp_multiline_block_brackets_on_same_column
andfsharp_experimental_stroustrup_style
would be removed. Going forward, onlyfsharp_multiline_bracket_style
shall be accepted. Please note thatfsharp_multiline_bracket_style
is available from5.2
onward. Sunset MultilineBlockBracketsOnSameColumn & ExperimentalStroustrupStyle #2710Add
Technical process
The plan is to do all the development on a separate
v6
branch.Bugfixing
v5.2
would still happen onmain
.//cc @dawedawe @josh-degraw @TheAngryByrd @edgarfgp
The text was updated successfully, but these errors were encountered: