![]() IDE code insight, testing support, and a debugger are already a pretty solid tool-set, and we’ll continue to polish these features to make your experience as smooth as possible for the public release. ![]() Once you run the tests, you will see a nice test tree like this one: Creating configurations from the editor popup menu will be supported in future updates. For the time being, to run a test, you need to create a ‘Kotlin/Native Test’ run configuration (under Run → Edit Configurations…) manually. The CLion plugin also supports running tests written using the kotlin.test framework. Please do try it and let us know how it works for you! Note this is still under active development and requires specific conditions (plus a bit of luck) to get working. The CLion plugin supports debugging, based on LLDB. This means that you have all the specific code inspections, intentions, code completion actions and of course refactorings already available for Kotlin/Native! Kotlin/Native IDE support is based on the regular Kotlin plugin for IntelliJ IDEA. CLion will automatically download and install native packages on your computer as needed. Click *New Project → Kotlin/Native Application *and select one of the available samples. Create sample projects right from CLion and play with some simple code examples. Learning a new technology requires a good entry point, and we’ve already prepared one for you. ![]() Don’t forget this is still a technology preview and bugs are possible, but if you encounter any, please report them! ![]() In CLion, choose Configure → Plugins → Install JetBrains plugin…, then find Kotlin and Kotlin/Native plugins there, and install them. Next, install two plugins from the JetBrains Plugin Repository. To get started, download and install CLion 2017.3 (note that this version is at the early access preview stage for now). That’s why JetBrains’ choice for Kotlin/Native is CLion, our IDE for C and C++. While we have IntelliJ IDEA for working with Kotlin, Kotlin/Native integrates with technologies from the native world such as Clang and LLDB support. At KotlinConf 2017, we announced a preview release of development tools for Kotlin/Native. Kotlin/Native is a brand new technology that compiles Kotlin directly to machine code and produces executables that can run without a virtual machine. ![]()
0 Comments
Leave a Reply. |