Is there a way to change the file icon after a Kotlin file is created? Someone initially created some files in our project as Kotlin Files when they are class files, while others in the same directory were created as Class files, causing the file tree to look confusing. So is there a way to fix this without recreating the files as Class files?
e
ephemient
11/27/2020, 12:50 AM
it has nothing to do with how the files are created
ephemient
11/27/2020, 12:51 AM
the icon depends on whether the file contains one class or multiple top-level declarations
c
Corey Lanier
11/27/2020, 12:52 AM
I literally just discovered that just a few seconds ago and was relaying that back to my team. Thanks for letting me know!