Inspection for implicit member visibility in Kotlin library
Answered
The Kotlin coding conventions for libraries say, "Always explicitly specify member visibility (to avoid accidentally exposing declarations as public API)." I would really like for my IDE to warn me about members that have been declared without an explicit visibility modifier. Does Intellij IDEA have such an inspection that I could enable? I searched the inspections menu for "api", "library", "visibility", "public", "modifier", "explicit" and "implicit", but found nothing.
Please sign in to leave a comment.
Hi Garret. Would you please use Kotlin support forum space for questions about Kotlin support in IDE. Thank!