java - Import code style settings from Eclipse to Intellij IDEA partly -
this question has answer here:
the issue in our team different developers use different ides , did not synchronize settings, during every commit can see order of package imports
changes quite annoying.
most of guys use eclipse, stay intellij idea, don't want import eclipse settings.
can import/configure settings classpath import order?
so, solution found. @betlista provided link exactly same question not able find myself.
so, point is possible set order of imports manually if know eclipse default order rules can apply them.
settings -> code style -> java -> imports
set "class count use import ''"* 99 or more because seems impossible disable , set order of eclipse following:
- static other,
- blank,
- java.*,
- blank,
- javax.*,
- blank,
- org.*,
- blank,
- com.*,
- blank,
- all other imports
Comments
Post a Comment