some comments popped up on the syntax highlighter on github thread: http://youtrack.jetbrains.com/issue/KT-1349?projectKey=KT
I wondered if we’d decided what file extensions were going to be used in Kotlin. Sergey mentioned using .kts for modules. I’ve not seen many examples of that yet but certainly a different extension for modules makes sense.
How about these?
- .kt a source file in kotlin
- .ktm a module file in kotlin
- .kts a shell script in kotlin - like in kotlin-script? http://youtrack.jetbrains.com/issue/KT-1504 e.g. https://github.com/andrewoma/kotlin-script/blob/master/examples/explicitmain#L1
Just wondered, the sooner we can decide the common names of things we can get the github syntax highlighter to use them and we can update the coding conventions: http://confluence.jetbrains.net/display/Kotlin/Coding+Conventions