PulseAugur
实时 11:29:26
English(EN) 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 开源 KotlinLLM 以实现运行时代码生成

JetBrains Research 已开源 KotlinLLM,这是一个为 Kotlin/JVM 项目设计的实验性 IntelliJ IDEA 插件。该工具引入了“智能宏”,它们是常规的 Kotlin 函数调用,可在运行时生成 Kotlin 源代码。该插件促进了一个循环,它捕获运行时值,向 LLM 代理请求代码更新,然后编译并热重载类。在对 Spring Petclinic 项目进行测试时,KotlinLLM 在 24 个场景中实现了 100% 的热重载成功率,运行时开销极小。 AI

影响 该工具可以通过自动化代码生成和适应运行时变化来简化 Kotlin/JVM 项目的开发。

排序理由 用于代码生成的实验性 IntelliJ IDEA 插件的开源发布。

在 Mastodon — mastodon.social 阅读 →

AI 生成摘要 · Google Gemini · 来自 2 个来源。 我们如何撰写摘要 →

JetBrains Research 开源 KotlinLLM 以实现运行时代码生成

报道来源 [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…