IntelliJ reorganizes imports Follow
When I hit 'Ctrl + Shift + O' in IntelliJ it removes unused imports but also reorder imports that messes up code reviews etc. How do I prevent it from reordering imports?
Please sign in to leave a comment.
You can't optimize imports without reordering them, it's the same action.
In that case how do I control the order?
It's defined in the code style settings | imports: https://www.jetbrains.com/idea/help/code-style-java.html#d53349e920 .