一句话:提出人在环多智能体 IDE 插件 CoRenameAgent,协助 Java 协调重命名重构。
协调重命名指一次重命名重构触发多个相关标识符的同步改名,开发者往往需要手动跨文件、跨上下文传播,过程主观且繁琐,哪些名字应改也依赖开发者判断。本文提出 CoRenameAgent,一个与开发者协同工作的多智能体交互工具,将自动分析与人工监督结合,以保证重命名符合上下文。作者将其实现为 IntelliJ IDEA 插件,面向 Java 语言,并强调可用性与实际采用。评估包括对流行开源项目的案例研究,CoRenameAgent 成功复现了开发者此前执行的 90% 重命名操作;以及 5 名用户的试点研究,平均每个任务审查 12 条建议仅需 1.5 分钟开发者时间。结果表明该工具可在保持开发者控制的同时显著减少手动工作量。
Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate rename refactorings across numerous files and contexts, a process that is both subjective and tedious. Deciding which names should change depends on developers' opinions about the code-base. We present CoRenameAgent, a multi-agent, interactive tool working in tandem with developers, to assist with coordinated renaming. CoRenameAgent operates alongside the developer, combining automated analysis with human oversight to ensure contextually appropriate renaming. We developed CoRenameAgent as a plugin for IntelliJ-IDEA, a leading IDE for the Java programming language, and designed it with usability and practical adoption in mind. To understand the real-world applicability of CoRenameAgent, we conducted a case study on a popular open-source project, where CoRenameAgent successfully replicated 90% rename operations previously performed by developers. To quantify the developer effort required to use the agent, we conducted a pilot study with 5 users. On average, reviewing CoRenameAgent's 12 suggestions required 1.5 minutes of developer time per task, demonstrating that the agent can significantly reduce manual workload while keeping developers in control. A screencast of CoRenameAgent can be found on YouTube1.
@inproceedings{BellurUBKMICKZB26,
title = {CoRenameAgent: A Human-In-The-Loop, Multi-Agent Tool for Coordinated Rename Refactoring},
author = {Abhiram Bellur and Mohammed Raihan Ullah and Fraol Batole and Mohit Kansara and Masaharu Morimoto and Kai Ishikawa and Haifeng Chen and Helena Klause and Yaroslav Zharov and Timofey Bryksin and Tien Nguyen and Hridesh Rajan and Nikolaos Tsantalis and Danny Dig},
booktitle = {FSE},
year = {2026},
doi = {10.1145/3803437.3806418}
}