GitHub user ptrdom added a comment to the discussion: Is there a way we could 
sbt or a sbt plugin to sort the imports how we want?

> we tend to import org.apache.pekko so that we can save on the org.apache part 
> when importing Pekko classes

It looks like 
https://scalacenter.github.io/scalafix/docs/rules/OrganizeImports.html#groups 
should support this. Either way we can use scalafix OrganizeImports rule, just 
either need to try to config the grouping as we want or get rid of the 
grouping. I personally prefer ungrouped, exploded imports, because those are 
easy to be made to work in both scalafix and IDEs

GitHub link: 
https://github.com/apache/pekko/discussions/2228#discussioncomment-14444998

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to