-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala CLI shebang is not handled #1961
Comments
We could indeed strip the shebang comment in scalafix-core, but shouldn't this be done upstream in ScalametaParser? |
We probably could do that, I think it was just more complex to do on the scalameta side than on the Metals one previously. |
fixed by scalameta/scalameta#3812, pending bump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just opening it up here so that I don't forget, but it seems when
#!/usr/bin/env -S scala-cli shebang
is added scalafix doesn't sort imports.I will take a look at it probably in April. We usually handle it by just commenting it out for our purposes. Semanticdb is produced correctly there.
Related to scalameta/metals#5942
The text was updated successfully, but these errors were encountered: