We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This:
x |> List.map (partition "{" >> snd >> Option.get) |> List.map (fun str -> if str.StartsWith "{"" then HttpUtility.HtmlDecode str else str) |> List.map JsonValue.Parse
is turned into this:
partition "{" >> snd >> Option.get) is smaller than if str.StartsWith "{"" then HttpUtility.HtmlDecode str, so it shouldn't wrap
partition "{" >> snd >> Option.get)
if str.StartsWith "{"" then HttpUtility.HtmlDecode str
The text was updated successfully, but these errors were encountered:
I think it's getting harder and harder to add good heuristics. Could you help implement a few heuristics when you have time?
I start thinking about an on-the-fly code formatter. Perhaps it can provide an alternative when parser-based formatting doesn't work well.
Sorry, something went wrong.
This does seem fixed with 2.8 release. @ovatsus could you give it a try with the --preserveEOL option.
--preserveEOL
No branches or pull requests
This:
is turned into this:
partition "{" >> snd >> Option.get)
is smaller thanif str.StartsWith "{"" then HttpUtility.HtmlDecode str
, so it shouldn't wrapThe text was updated successfully, but these errors were encountered: