Writing IntelliJ Plugins for Kotlin
summary
Shows converting an existing Dagger line‑marker gutter plugin to use UAST so one implementation finds injections in both Java fields and Kotlin properties and the icon appears in mixed projects. Uses the Kotlin plugin on the classpath and the Gradle IntelliJ plugin to declare language dependencies and run/build tasks, and demonstrates inspecting trees with the PSI viewer. Explains UElement vs Psi source elements, when to call getSourcePsi, and that UAST works for language‑agnostic analyses while PSI is needed for text ranges and references.
AI-written summary · about
chapters (6)
related talks
46mHow we’re improving performance of IntelliJ IDEA Kotlin plugin
51mKotlin: How the Language Support in IntelliJ IDEA Evolved
31mBuilding an IDE plugin for clean code generation
58mHow We Support New Technologies, Languages, and Frameworks in IntelliJ IDEA
40mHow to Kontribute
38mKSP and Plugins. Optimizing Kotlin Multiplatform common code
28mFrom Idea to IDE: Developing Plugins for Android Studio
50mThe Kotlin DSL experience in Gradle
