Closed OndrejSpanel closed 1 year ago
@mallowigi I can add a Scala configuration like there already is for Java and Kotlin, but does it make sense, as it will be more or less another copy? Perhaps it would be better to merge the configuration for all those three languages into one?
If they are a carbon copy of the others, you can reuse the others
What I mean is - do you want to have separate settings for Java / Kotlin / Scala, or should they be merged together? At the moment Kotlin and Java have separate settings, controlling the same functionality differently for different languages.
I think I can add another one for Scala or all three should be merged together. It would feel strange for Scala to share settings with Java when Kotlin has their own.
Yeah I can see from your PR. Ultimately we should use a different setting for this, but this would involve you to also touch the Configurable and State files.
If you prefer that, I will do it that way.
Separate Scala settings added
Thanks for your hard work. I will try to find some time in the weekend to check that nothing is broken with all these refactors
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Similar to Scala and Kotlin, this adds constructor and method parsing to Scala.
Screenshots (if appropriate):
Types of changes
Checklist:
./gradlew check
passes clean)../gradlew :ktlintMainSourceSetFormat
.Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.