intellij-rust/intellij-rust.github.io

Optimize Imports sorts `mod` after `use`

trivigy opened this issue · 4 comments

Technically this doesn't make any difference but syntactically it is much easier to read when use statements are positioned after the mod. Almost like saying "from this imported module, use these things in the current scope."

Not sure if this is some kind of generic clion configuration or the intellij-rust specific but could not figure out how to change that. Would greatly appreciate any kind of advice.

wrong repo. closing.

U007D commented

@trivigy Did you reopen this elsewhere by chance? (I'm having the same issue.)

@U007D I don't remember sorry.

After thinking about it for a few extra days I actually think I just gave up and kept going with it as is.