https://kotlinlang.org logo
Title
v

Vlad Drahnea

04/09/2018, 9:12 AM
Hey guys, probably a dumb question here, but, can I use intellij IDEA while testing with kotlin.test? Seems like IDEA doesn’t see annotations (
@Test
) declaration there. Is it possible to make it work so?
And generally speaking, is IDEA koltin/native support officially planned?
g

gildor

04/09/2018, 9:36 AM
You cannot. Idea doesn’t support K/N for now
But some sort of support is planned (not clear for now what it will be, a separate K/N plugin, new IDE etc)
v

Vlad Drahnea

04/09/2018, 9:45 AM
mb you’re aware, what’s the current best way to develop a mobile multiplatform project? Using CLion for k/n (iOS part) and Android Studio/Gradle for Android respectively?
g

gildor

04/09/2018, 10:11 AM
There is no perfect solution. For Android is of course Idea/AS + Gradle
For iOS there are too many not completed peaces: Most supported build tool for K/N is Gradle CLion works only with CMake, not with Gradle. And it’s the only option if you need native debugging, testing and code completion (Idea support only basic code completion). But CMake is just temporary solution and will be deprecated: See https://kotlinlang.slack.com/archives/C3SGXARS6/p1522945349000764 Idea/AS works with Gradle, but not with CMake and don’t have any support of native development
Also don’t forget about AppCode, that is the only Intellij IDE that supports iOS directly but also no support of Kotlin yet. But already (unofficially) announced, see link above
so I believe eventually JB will provide some integrated solution, for now the only choice to use multiple tools
👍 1