Inspection for implicit member visibility in Kotlin library
已回答
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.
请先登录再写评论。
Hi Garret. Would you please use Kotlin support forum space for questions about Kotlin support in IDE. Thank!