fsprojects / fantomas-for-vs

Visual Studio Formatter for F#
https://marketplace.visualstudio.com/items?itemName=asti.fantomas-vs
46 stars 10 forks source link

Missing Options: Fantomas Visual Studio 2022 Community Options Menu #28

Open siavash-babaei opened 2 years ago

siavash-babaei commented 2 years ago

I go to F# Tools, then to Formatting. Nothing is there ...

Fantomas Visual Studio 2022 Community Options Menu

deviousasti commented 2 years ago

That's because when the formatter was moved to the client model, the types corresponding to formatting options were removed. We need to complete #10 and this will be good to go.

In the mean time, you can create a .editorconfig file in the same folder as your source, and set your options there. https://github.com/fsprojects/fantomas/blob/master/docs/Documentation.md#configuration

Sorry for the inconvenience.

kkm000 commented 1 year ago

@deviousasti, if I understand your comment, this is expected, isn't it? If so, you couldn't update the screenshot in the top-level README and on the Marketplace, could you? The #10 is going to celebrate its second birthday in less than two weeks, and, from experience, it's about the age at which a bug matures into a feature. Also, #36 is a duplicate, and I just commented there about seeing the different tool config page, too. This mislead me into daring not to even try formatting a file...

deviousasti commented 1 year ago

10 needs to be rewritten from the ground-up - things have diverged too far.

Should I just give up and update the screenshot? 😖