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

> I tried that out in pekko-http.
> 
> It is much slower than sbt-imports because it compiles all the code.
> 
> I haven't yet found a config that deals well with the sorting the imports 
> well with the `import org.apache.pekko`.
> 
> 
> 
> I'll happily defer to someone else who can get it work well. I have to move 
> on to the 1.2.1 release and other stuff.

So to do proper import sorting you have to compile the code because in Scala, 
import order can effect behaviour of code and so you need to compile in order 
to make sure you don't break behaviour.

You experienced the same issues that I did in the past, shall we talk about 
this in the discussion thread?

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

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to