JetBrains Research has open-sourced KotlinLLM, an experimental IntelliJ IDEA plugin designed for Kotlin/JVM projects. This tool introduces "Smart Macros," which are regular Kotlin function calls that generate Kotlin source code at runtime. The plugin facilitates a loop where it captures runtime values, requests code updates from an LLM agent, and then compiles and hot-reloads the class. In testing with the Spring Petclinic project, KotlinLLM achieved a 100% hot-reload success rate across 24 scenarios with minimal runtime overhead. AI
IMPACT This tool could streamline development for Kotlin/JVM projects by automating code generation and adaptation to runtime changes.
RANK_REASON Open-source release of an experimental IntelliJ IDEA plugin for code generation.
Read on Mastodon — mastodon.social →
- Apache Software License 2.0
- IntelliJ IDEA
- Java virtual machine
- JetBrains Research
- Kotlin
- Kotlin/JVM
- KotlinLLM
- LLM agent
- OpenAI
- Smart Macros
- Spring Petclinic
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →