JuliaFormatter.jl
JuliaFormatter.jl copied to clipboard
Juliaformatter should print file when parsing fails
When I try to format https://github.com/SciML/Sundials.jl/pull/416 I get an error from https://github.com/domluna/JuliaFormatter.jl/blob/fd4fae31aa67bcfedf6a2a22753ff8034e27de67/src/JuliaFormatter.jl#L684 which tells me the line and offset number, but not the file that failed parsing. Ideally, this would also print the offending line of text.
if you use verbose=true, then it should print out the filename(s) so when the error occurs you can see which file it was formatting at the time