Codetations: Intelligent, Persistent Notes and UIs for Programs and Other Documents
Codetations: Intelligent, Persistent Notes and UIs for Programs and Other Documents
Software developers maintain extensive mental models of code they produce and its context, often relying on memory to retrieve or reconstruct design decisions, edge cases, and debugging experiences. These missing links and data obstruct both developers and, more recently, large language models (LLMs) working with unfamiliar code. We present Codetations, a system that helps developers contextualize documents with rich notes and tools. Unlike previous approaches, notes in Codetations stay outside the document to prevent code clutter, attaching to spans in the document using a hybrid edit-tracking/LLM-based method. Their content is dynamic, interactive, and synchronized with code changes. A worked example shows that relevant notes with interactively-collected data improve LLM performance during code repair. In our user evaluation, developers praised these properties and saw significant potential in annotation types that we generated with an LLM in just a few minutes.
Edward Misback、Erik Vank、Zachary Tatlock、Steven Tanimoto
计算技术、计算机技术
Edward Misback,Erik Vank,Zachary Tatlock,Steven Tanimoto.Codetations: Intelligent, Persistent Notes and UIs for Programs and Other Documents[EB/OL].(2025-04-25)[2025-07-18].https://arxiv.org/abs/2504.18702.点此复制
评论