fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
772 stars 194 forks source link

Using fantomas with dotnet-format #430

Closed cartermp closed 5 years ago

cartermp commented 5 years ago

We'd like to pull in a dependency on Fantomas for the dotnet-format tool (tracking issue: https://github.com/dotnet/format/issues/39).

Technically it would be straightforward to do, since the tool just does some orchestration of the C# and VB code formatters today, and it would just shell out to Fantomas when encountering F# projects. But there is a question on policy, which I propose as follows:

Thoughts? cc @jmarolf

jindraivanek commented 5 years ago

If I read that policy correctly, it doesn't mean any change for us, so no reason to disagree with that.

It would be great if new F# formatting issues would be created through http://ratatosk.dynu.net/fantomas site.

jmarolf commented 5 years ago

@jindraivanek sounds great! Just wanted to make sure it was fine to package fantomas inside another global tool. I'll make sure that people posting on the dotnet/format repo know to file bugs on http://ratatosk.dynu.net/fantomas if they are fantomas specific

cartermp commented 5 years ago

The main thing is it may be reasonable to expect more bugs coming in as this does open up fantomas to more use. Just wanted to make sure that was okay 🙂

I'll close the issue as we'll take care of thing on the dotnet-format side. Let us know if you have any further questions/concerns!