From f89664ac7a96033e7082209497af047af03df91f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 14 Feb 2017 01:27:02 +0300 Subject: [PATCH] Mention Kotlin DSL for building UIs (#33) --- tutorials/kotlin.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tutorials/kotlin.md b/tutorials/kotlin.md index f3b4f2aefe7..f6eceddeea8 100644 --- a/tutorials/kotlin.md +++ b/tutorials/kotlin.md @@ -66,7 +66,11 @@ repositories { Please note that you should **not** include `kotlin-runtime` and `kotlin-stdlib` jars with your plugin because Kotlin guarantees backward- and forward- binary compatibility. -## 4. Examples +## 4. UI in Kotlin + +The best way to create user interfaces with Kotlin is to use a type safe DSL for building forms instead of GUI designer. The DSL used in the IntelliJ platform is inside `com.intellij.ui.layout` package. [Documentation](https://github.com/JetBrains/intellij-community/blob/master/platform/platform-impl/src/com/intellij/ui/layout/readme.md). + +## 5. Examples There are a number of [open source Kotlin projects](https://github.com/search?l=Kotlin&q=+intellij&ref=searchresults&type=Repositories) built on the IntelliJ Platform. For a readily available source of up to date examples and applications of the Kotlin language for building developer tools with the IntelliJ Platform, developers may look to these projects for inspiration: