Kotlin Notebook Meets IntelliJ Platform
summary
Kotlin Notebook opens inside IntelliJ IDEA 2025.x and runs Kotlin cells either in a separate JVM or run in IDE process so code can access the real IntelliJ Platform jars and a live Project instance. It fetches Maven/Gradle deps and line-magic libs (Candy for charts), renders Compose-style UI and images, can register actions and load bundled plugins, and even trigger UI effects (example: shake IDE). Expect to restart kernel after code change; execution order and disposables matter and EAP builds may be unstable.
AI-written summary · about
chapters (20)
- 0:00Kotlin Notebook & IntelliJ intro
- 1:08Kotlin Notebook basics
- 3:00Code cells & output
- 5:11Execution order & state
- 6:58Advanced output rendering
- 9:05Adding libraries
- 10:50Line magics & visualization
- 12:19Commands & classpath
- 15:40Magics for data, images, HTTP, AI
- 16:25IntelliJ plugin dev
- 18:35Accessing IDE state
- 20:23Faster plugin dev
- 21:50Dynamic UI rendering
- 23:47Running UI operations on the Event Dispatch Thread
- 24:33Registering actions
- 26:46Loading plugins dynamically
- 28:36Managing resources
- 29:59Best practices
- 30:43Sharing as GitHub Gists
- 33:20Q&A
related talks
59mKotlin Notebooks for Spring Developers
45mLet’s use IntelliJ as a game engine, just because we can
36mExploring Kotlin Multiplatform
42mExtending IntelliJ-based IDEs at runtime
23mKotlin 1.4 in IntelliJ-based IDEs: Boosting Quality and Performance
47mLet the IDE do that for you
46mHow we’re improving performance of IntelliJ IDEA Kotlin plugin
50mBe more productive with IntelliJ IDEA
