An Analysis of the Costs and Benefits of Autocomplete in IDEs
Shaokang Jiang, Michael Coblenz
Abstract
Many IDEs support an autocomplete feature, which may increase developer productivity by reducing typing requirements and by providing convenient access to relevant information. However, to date, there has been no evaluation of the actual benefit of autocomplete to programmers. We conducted a between-subjects experiment <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"> mml:mo(</mml:mo> mml:mtextN</mml:mtext> mml:mo=</mml:mo> mml:mn32</mml:mn> mml:mo)</mml:mo> </mml:math> using an eye tracker to evaluate the costs and benefits of IDE-based autocomplete features to programmers who use an unfamiliar API. Participants who used autocomplete spent significantly less time reading documentation and got significantly higher scores on our post-study API knowledge test, indicating that it helped them learn more about the API. However, autocomplete did not significantly reduce the number of keystrokes required to finish tasks. We conclude that the primary benefit of autocomplete is in providing information, not in reducing time spent typing.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 989f957f-7ed1-409c-afee-4dc64b07435dCited by top-tier papers1
Ask how each one uses itBuilds on2
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 citations
- Sneak Pique: Exploring Autocompletion as a Data Discovery Scaffold for Supporting Visual AnalysisVidya Setlur, Enamul Hoque, Dae Hyun Kim, Angel X. ChangUIST 2020 · 23 citations
Related papers
- Supporting Web-Based API Searches in the IDE Using SignaturesNick C. Bradley, Thomas Fritz, Reid HolmesICSE 2024
- Code Prediction by Feeding Trees to TransformersSeohyun Kim, Jinman Zhao, Yuchi Tian, Satish ChandraICSE 2021 · 179 citations
- Using an LLM to Help With Code UnderstandingDaye Nam, Andrew Macvean, Vincent J. Hellendoorn, Bogdan Vasilescu et al.ICSE 2024 · 264 citations
- How Practitioners Expect Code Completion?Chaozheng Wang, Junhao Hu, Cuiyun Gao, Yu Jin et al.FSE 2023 · 24 citations
- Investigating Eyes-away Mid-air Typing in Virtual Reality using Squeeze haptics-based Postural ReinforcementAakar Gupta, Naveen Sendhilnathan, Jess Hartcher-O'Brien, Evan Pezent et al.CHI 2023 · 10 citations
