PulseAugur
EN
LIVE 11:29:27

JetBrains Research open-sources KotlinLLM for runtime code generation

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 →

AI-generated summary · Google Gemini · from 2 sources. How we write summaries →

JetBrains Research open-sources KotlinLLM for runtime code generation

COVERAGE [2]

  1. MarkTechPost TIER_1 English(EN) · Michal Sutter ·

    JetBrains Open-Sources KotlinLLM: Smart Macros That Generate Kotlin Source Code at Runtime and Hot-Reload It Through JDI

    <p>JetBrains Research has open-sourced KotlinLLM under the Apache License 2.0. The IntelliJ IDEA plugin prototype adds Smart macros, asLlm and mockLlm, whose bodies are generated Kotlin source rather than live model calls. The plugin captures runtime values through JDI, asks an L…

  2. Mastodon — mastodon.social TIER_1 English(EN) · [email protected] ·

    JetBrains Research has open-sourced KotlinLLM, an IntelliJ IDEA plugin that adds Smart Macros generating Kotlin source code at runtime. The plugin uses JDI to c

    JetBrains Research has open-sourced KotlinLLM, an IntelliJ IDEA plugin that adds Smart Macros generating Kotlin source code at runtime. The plugin uses JDI to capture values, requests code updates from an LLM agent, compiles and hot-reloads the class. On a Spring Petclinic projec…