How to get started with Kotlin JS?


#1

I had gave Kotlin a spin a while back, and recently wanted to revisit it.  I installed the Kotlin plugin in IntelliJ 13 and restarted, but aside from a few things in Preferences, I don't see Kotlin elsewhere.  When I create a new project, I don't see a "Kotlin" option.  I can create a new Kotlin file in an existing project, but I'm not sure what to do with it/I don't get prompted on how I'd like to compile it.  When I go to Project Structure, I don't see a way to create a Kotlin module or anything like that.

I’m probably missing something basic, but how do I get things properly set up?  Thanks.


Questions about the Javascript API
#2

In short: You should create/use standard Java project and Java module. And when you create first Kotlin file in a source root IDEA help you setup your module. You can find other information and other ways for setup in the next blog posts: how-to-configure-kotlin-in-your-project writing-kotlin-in-the-browser kotlin-m2-candidate/#js

Please feel free to ask us if you have any questions.

Regards, Zalim