Mix static imports with regular imports

Answered

Hi,

 

In our code style we mix static imports with regular imports. I want to avoid touching imports unnecessarily so I'd like IntelliJ to preserve this behaviour. However, when I unselect "Layout static imports separately", IntelliJ still puts all static imports in a bundle at the end.

Is there any way to get IntelliJ to mix static imports with regular imports alphabetically like it does for regular imports?

Thanks,

Daniel

0
3 comments
Avatar
Permanently deleted user

See also this ignored bug request: https://youtrack.jetbrains.com/issue/IDEA-150293

Is there any way to fix this?

0

I've increased the issue priority, hope it will be fixed soon.

1
Avatar
Permanently deleted user

Sweet thanks.

0

Please sign in to leave a comment.