GitHub user pjfanning edited a discussion: Is there a way we could sbt or a sbt plugin to sort the imports how we want?
* we want to maintain custom sorting in many of the scala files used for documentation - so if we could annotate the files that we don't want to sort automatically or exclude the docs directory, that would be ideal * we tend to `import org.apache.pekko` so that we can save on the `org.apache` part when importing Pekko classes - so a sort tool that can handle that would be great - I am not wedded to maintaining this if it makes life easier to the tooling although I suspect that some people like them * we waste a lot of time hand sorting imports and commenting on PRs asking for changes to imports In this repo, we have `sbt sortImports` - an alias setup to call scalafix commands. The output seems good but some how we don't use it. GitHub link: https://github.com/apache/pekko/discussions/2228 ---- 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