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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -