Intellij Display Kotlin File
已回答
In Intellij, each of the Kotlin types has it's own icon (Object, Class, Interface, File).
For all types but 'File' the Kotlin extension '.kt' is blended out.
For the 'File' type, the '.kt' extension is not blended out which I find very distracting ;).
I am not sure if this is intended as a 'feature' or is a bug. Personally I find this extra .kt extension very distracting in the otherwise clean list of class/interface names.
请先登录再写评论。
Sorry I went ahead and created an issue for this... in case it is a bug.
https://youtrack.jetbrains.com/issue/IDEA-181704
Please use https://discuss.kotlinlang.org/ for all Kotlin specific questions in the future.
okay... but this was more of an IntelliJ question than a Kotlin issue...
Everything Kotlin related, even if it's in IntelliJ IDEA is handled by the Kotlin team via the forum linked above.