Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Scala 3 support #178

Closed
bjaglin opened this issue May 12, 2021 · 2 comments
Closed

Scala 3 support #178

bjaglin opened this issue May 12, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@bjaglin
Copy link
Contributor

bjaglin commented May 12, 2021

Support for running rules against Scala 3 sources has just been added to scalafix & sbt-scalafix (SNAPSHOTs only for now, release upcoming next week). Metals will probably follow shortly.

Very few built-in rules are supported for the moment (many depend on features unavailable in the Scala 3 compiler). Adding support for OrganizeImports might not be trivial either (although we might get a good surprise at the first run of the testkit against Scala 3 input sources), but I wanted to open this early to see whether/how we could collaborate on this. I see it as an opportunity for Scalafix maintainers (and potentially Scalameta maintainers) to focus on the right things, and for OrganizeImports to get support faster.

Some pointers:

Happy to hear your thoughts!

cc @mlachkar

@liancheng liancheng added the help wanted Extra attention is needed label May 13, 2021
@bjaglin
Copy link
Contributor Author

bjaglin commented Jun 24, 2021

#179 tests and documents the current status of running scalafix against Scala 3 source files.

Known limitations are documented in the README.

@bjaglin
Copy link
Contributor Author

bjaglin commented Mar 27, 2022

I guess this can be closed as Scala 3 is now considered supported, so remaining work should be tracked in separate issues.

@bjaglin bjaglin closed this as completed Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants