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
Issue created from fantomas-online
match x with | NotificationEvent.Lint (file, warnings) -> let uri = Path.FilePathToUri file diagnosticCollections.AddOrUpdate((uri, "F# Linter"), [||], (fun _ _ -> [||])) |> ignore let fs = warnings |> List.choose (fun w -> w.Warning.Details.SuggestedFix |> Option.bind (fun f -> let f = f.Force() let range = fcsRangeToLsp w.Warning.Details.Range f |> Option.map (fun f -> range, { Range = range; NewText = f.ToText }))) lintFixes.[uri] <- fs
match x with | NotificationEvent.Lint (file, warnings) -> let uri = Path.FilePathToUri file diagnosticCollections.AddOrUpdate( (uri, "F# Linter"), [||], (fun _ _ -> [||]) ) |> ignore let fs = warnings |> List.choose (fun w -> w.Warning.Details.SuggestedFix |> Option.bind (fun f -> let f = f.Force() let range = fcsRangeToLsp w.Warning.Details.Range f |> Option.map (fun f -> range, { Range = range; NewText = f.ToText }))) lintFixes.[uri] <- fs
Trivia before SynExpr.Set is not printed.
Fantomas Master at 12/22/2020 15:26:56 - aac3975
{ config with IndentSize = 2 MaxLineLength = 80 }
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered:
Keep new line before SynExpr.DotIndexedSet. Fixes fsprojects#1314.
cd55c19
6ec8024
Keep new line before SynExpr.DotIndexedSet. Fixes #1314. (#1316)
88235c3
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
Trivia before SynExpr.Set is not printed.
Extra information
Options
Fantomas Master at 12/22/2020 15:26:56 - aac3975
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: