Is CLion still needed for Kotlin/Native to WebAssembly development? I saw a lot of articles that say so, including some from JetBrains websites, but I no longer see Kotlin/Native plugin in CLion 2019 EAP, and there is a Kotlin/Native template in IntelliJ IDEA. So are those articles outdated?
a
akapanina
02/13/2019, 12:02 PM
Hi, CLion is still needed for Kotlin/Native development, but there is no Kotlin plugin for CLion 2019 EAP yet. We are working on it and it will be published soon.
As for IDEA K/N template - yes, it exists, but Kotlin/Native support in IDEA is limited.
s
SOFe
02/13/2019, 12:45 PM
How limited is it?
a
akapanina
02/13/2019, 12:49 PM
There is no debugger and you can't run native applications or tests for them in IDEA.
s
SOFe
02/13/2019, 12:52 PM
oh so CLion can debug/test webassembly?
or just unit tests using the host OS?
a
akapanina
02/13/2019, 2:23 PM
Sorry, did not notice at first that you were talking about Webassembly. Well, in that case situation is even more complicated. Running and debugging wasm is not supported in CLion right now (there are some feature requests about it though, e.g. https://youtrack.jetbrains.com/issue/CPP-11559). So, from IDE point of view there is no difference between CLion and IDEA for such K/N applications. Probably it would be even better to stick with IDEA Ultimate than with CLion - since it has JavaScript support.