domluna / JuliaFormatter.jl

An opinionated code formatter for Julia. Plot twist - the opinion is your own.
https://domluna.github.io/JuliaFormatter.jl/dev/
MIT License
576 stars 69 forks source link

Sort imports #257

Open samuela opened 4 years ago

samuela commented 4 years ago

It would be really awesome if JuliaFormatter would also sort imports!

fredrikekre commented 2 years ago

https://github.com/julia-vscode/LanguageServer.jl/pull/1076

MilesCranmer commented 9 months ago

@fredrikekre can we use https://github.com/julia-vscode/LanguageServer.jl/pull/1076 from JuliaFormatter.jl or does it need to be imported separately? I am basically looking for an automated way to do it from the command line or in CI testing.