Scala 3 support?
Any chance that ScalaFXML can support Scala 3? Is it even feasible given that Scala 3 has no macro annotations?
In its current form I don't think it is possible, but I will think about it, maybe there is a different way with the new macros to make working with fxml convenient.
I think it is fine to change approach to work smooth with new macros or other Scala 3 features. I hope to have ScalaFX building with Scala 3 soon, if that helps.
I think right now the best possibility is to
- reimplement the annotation macro itself as an sbt plugin with scalameta so it generates controllers for all fxmls in a source set/ones that are explicitly listed/find them in the resources source set
- somehow support the existing features in this setup too, in a Scala3 compatible way (dependencies, nested, etc)
The macro can remain a Scala 2-specific feature for now to not break projects not interested in upgrading to Scala 3.
Any update an Scala 3 support?
Sorry I was a bit busy, I'm trying to get some time this week to make a first release of this!