-
Notifications
You must be signed in to change notification settings - Fork 22
Issue with scala3 *
imports and IntelliJ
#197
Comments
This behavior is controlled by the BTW, Scala 3 support is still experimental and only available in master. Are you using some master snapshot version? |
It solves the problem but creates another one: IntelliJ organises these imports like this: import io.circe.syntax.*
import io.circe.{Encoder, Json} while with import io.circe.{Encoder, Json}
import io.circe.syntax.*
No, I'm using the latest published one. |
Huh, interesting. Could you please share your IntelliJ configuration relevant to import organization? Specifically:
I suspect you are using the Scalastyle flavor? IIRC, Scalastyle uses a complicated sorting rule that I never quite understand... |
@guizmaii, could you please also share your |
Here it is:
|
@guizmaii, what I can confirm is that But I haven't figured out how exactly the result you hit was produced. Need some more time for this. |
To add to this, |
Hi,
IntelliJ organises the imports this way:
while
OrganizeImports
organises them this way:Here's my scalafix config concerning
OrganizeImports
:I feel that IntelliJ is right on this one.
What do you thing?
The text was updated successfully, but these errors were encountered: