Asterisk to underscore replacement when organizing imports in Scala 3 #6359
Labels
improvement
Not a bug or a feature, but something general we can improve
Milestone
Steps to reproduce:
sbt new scala/scala3.g8
main.scala
contents to this (the important thing is to add some unsorted imports):.scalafix.conf
file next tobuild.sbt
(it doesn't have to be empty, but its presence seems to be necessary to reproduce the problem).Organize Imports
action, for instance by pressing Cmd+Shift+P, typeOrganize Imports
, pressReturn
(Enter
)The result is :
Expected behaviour:
The result should be:
Operating system:
Mac OS X
Java version:
17.0.8
Editor/extension:
Visual Studio Code v1.88.1
Metals version:
1.3.0
Extra context or search terms:
I think it didn't happen in Metals 1.2.0 (with
scalafix.conf
containing only one line,OrganizeImports.removeUnused = false
, to silence an error). The issue is quite similar to #5121, but it's marked as solved and is quite old, so I thought I should submit this one.Workspace information:
0. Bloop v1.5.17
The text was updated successfully, but these errors were encountered: