Idea auto import sort
Answered
How I can organize sort in auto import?
For example I want:
static class
...
com.test... - my package
...
com.apache - all other packages
I add support checkstyle plugin. And cannot build project
<!--<module name="CustomImportOrder">-->
<!--<property name="sortImportsInGroupAlphabetically" value="true"/>-->
<!--<property name="separateLineBetweenGroups" value="true"/>-->
<!--<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>-->
<!--</module>-->
Please sign in to leave a comment.
Hi, could you please clarify the problem, at the moment auto import popup shows most frequently used items first, if that was the question.
I want custom sorting
1)static imports
2)my own project imports
3)other package imports