IntelliJ IDEA 2017.3: Support for Kotlin Multi-platform Projects
Template Multi-platform project
First of all, now it is possible to create a template project to start exploring the new Multi-platform projects feature.
Please keep in mind that multi-platform projects should be built with Gradle.
When you compile a project such as this for a specific platform, IntelliJ IDEA generates the code for both the common and platform-specific parts.
Detecting expected declarations without the corresponding actual declarations
To call platform-specific code from a common module, you can specify expected declarations – declarations for which all platform-specific modules need to provide actual declarations.
Expected declarations should have actual declarations in the platform-specific module.
IntelliJ IDEA 2017.3 will detect and alert you if you try to use an expected declaration without the corresponding actual declarations.
Intention action to create the actual class
For missing declarations for JS and JVM platforms, the Kotlin plugin provides an intention action to create actual declarations.
Navigation between expected and actual declarations.
The IDE provides a gutter icon which lets you easily navigate between expected and actual declarations.
Subscribe to Blog updates
Thanks, we've got you!
The What, Why, and How of JPA Buddy in IntelliJ IDEA
Master JPA entity management with JPA Buddy in IntelliJ IDEA! Our latest article shows you how to simplify your workflow and reduce boilerplate code.
The Best of IntelliJ IDEA’s HTTP Client
In today's fast-paced tech world, easy and efficient management of web services and APIs is crucial. That's where IntelliJ IDEA's HTTP Client steps in, turning complex HTTP requests into a walk in the park. The HTTP Client is a feature-rich, text-based tool in IntelliJ IDEA Ultimate. It seamlessl…
Import Postman Collections to the HTTP Client
We know that many of you use Postman collections and want to stay in the flow while working with them. This means staying inside IntelliJ IDEA and not switching to a different app. Great news! You can now effortlessly transform Postman collections into .http and use them in the HTTP Client …
What’s New in IntelliJ IDEA 2023.1 for Spring Developers
The IntelliJ IDEA 2023.1 release came packed with updates for Spring. This blog post will highlight the most noticeable changes, including full support for Lombok, a reworked Spring tool window, navigation for Spring Security rules, Spring Security 6 support, and more. Remember that these featur…