is there a way to configure intellij to organize i...
# ktlint
b
is there a way to configure intellij to organize imports in lexographic order? i've started getting this warning with ktlint (
Imports must be ordered in lexicographic order without any empty lines in-between
) but don't see how to fix it in intellij
mainly, intellij seems to move
java.
imports to the bottom
editor -> code style -> kotlin -> imports doesn't seem to have anything about order
s
yeah, unfortunately it’s an open issue on jetbrains https://youtrack.jetbrains.com/issue/KT-10974
if you don’t care about lexicographic order in your imports, you can just disable the rule
b
ah ok, thanks. yeah was hoping not to have to disable but will do that for now
s
a couple versions ago we added support for globally disabling rules
👍
185 Views