If a Kotlin file contains multiple classes, in the...
# intellij
d
If a Kotlin file contains multiple classes, in the Project view it is shown as
MyFile.kt
, but there is no way to see the classes it contains. By contrast, if a Groovy file contains multiple classes, you can expand the file in the Project view to see the classes therein, so it’s surprising that this functionality doesn’t also exist for Kotlin. Is it possible to see the (multiple) classes contained in a Kotlin file in the Project view?
k
Click on the ⚙️ in the top right and check "Show Members".
👍 1
d
Thanks @karelpeeters