I accidentally created a file named SomeClass.txt, deleted and created it as SomeClass.kt, however the IDE offers no syntax highlighting or code completion. I’ve invalidated my cache and restarted but still the same result, how do I fix this?
c
christophsturm
09/11/2019, 11:45 AM
maybe its called SomeClass.kt.txt?
h
hooliooo
09/11/2019, 11:46 AM
It’s not. I recreated the file. On Finder its SomeClass.kt
s
spand
09/11/2019, 11:53 AM
Somewhere in settings there are file specific overrides for what a file is opened as. You may have gotten added an exception that opens it as textfile