Would it be possible to default classes and functi...
# compiler
Would it be possible to default classes and functions visibility modifiers to
? Extra points if i do not need to use an annotation to tag those classes.
There is hope, but I’d love to hear from someone from Jetbrains whether it’s somewhere on the roadmap
I believe I have read them a while ago but will check again to see different aspects to it. Nevertheless, I believe it would be good to be able to write a compiler plugin to make all classes non-public by default. Thanks for the sources 🙂
I'd wager that it would be possible and not all that hard to do it yourself with a plugin
Would it have IDE support though?
If you use arrow-meta then yes. If not then you probably have to write a plugin as well.
👍 3