Understanding and supporting how developers prompt for LLM-powered code editing in practice
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are rapidly transforming software engineering, with coding assistants embedded in an IDE becoming increasingly prevalent. While research has focused on improving the tools and understanding developer perceptions, a critical gap exists in understanding how developers actually use these tools in their daily workflows, and, crucially, where they struggle. This paper addresses part of this gap through a multi-phased investigation of developer interactions with an LLM-powered code editing feature, Transform Code, in an IDE widely used at Google. First, we analyze telemetry logs of the feature usage, revealing that frequent re-prompting can be an indicator of developer struggles with using Transform Code. Second, we conduct a qualitative analysis of unsatisfactory requests, identifying five key categories of information often missing from developer prompts. Finally, based on these findings, we propose and evaluate a tool, AutoPrompter, for automatically improving prompts by inferring missing information from the surrounding code context, leading to a 27% improvement in edit correctness on our test set.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 28 Apr 2025.
Builds on
17 of 43 references.
References · 17
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
- 2023"What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Modelscited by 48
- 2024Need Help? Designing Proactive AI Assistants for Programmingcited by 42
- 2024Test-Driven Development for Code Generationcited by 32
- 2024How much does AI impact development speed? An enterprise-based randomized controlled trialcited by 19
- 2024An Empirical Study on Challenges for LLM Application Developerscited by 17
5 more
- 2022Python Code Generation by Asking Clarification Questionscited by 16
- 2023Revisiting Prompt Engineering via Declarative Crowdsourcingcited by 12
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
- 2024Can Developers Prompt? A Controlled Experiment for Code Documentation Generationcited by 7
- 2025How is Google using AI for internal code migrations?cited by 6
Built on by
Citing papers per year: 2025: 1.
1 paper.