GitHub user pjfanning added a comment to the discussion: Is there a way we could sbt or a sbt plugin to sort the imports how we want?
I found an example in pekko-http that is affected. ``` import org.apache.pekko import pekko.http.scaladsl.model._ import MediaTypes._ ``` The scalafix sortImports doesn't treat `import MediaTypes._` as needing to be sorted under `import pekko.http.scaladsl.model._` It is not that common. I fixed the issue in my peko-http PR by modifying such imports to something like `import pekko.http.scaladsl.model.MediaTypes._`. A one-off change that keeps the import sorting happy going forward. GitHub link: https://github.com/apache/pekko/discussions/2228#discussioncomment-14453560 ---- 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