I started to learn Kotlin, and I would like to use it instead of TypeScript for my interface language. Both compile before JavaScript, so I would like to configure it so that I create a Kotlin file, call it myFile.kt , and then when I run the compiler, it will make myFile.js file.
Just like TypeScript takes myFile.ts and compiles it into myFile.js .
I am using the latest version of IntelliJ 15 with a candidate for the 1st release of Kotlin.
I have searched all over the Internet for a way to do this, but so far all I have found is to configure IntelliJ so that Kotlin creates a JavaScript library from your code in a JAR file. I also could not get this to compile any of the kt files in my project (previously they were js ).
What would I like to do now, or am I thinking about it wrong?
source share