How Practitioners Expect Code Completion?
Open Access
- 30 November 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1294-1306
Abstract
Code completion has become a common practice for programmers during their daily programming activities. It automatically predicts the next tokens or statements that the programmers may use. Code completion aims to substantially save keystrokes and improve the programming efficiency for programmers. Although there exists substantial research on code completion, it is still unclear what practitioner expectations are on code completion and whether these expectations are met by the existing research. To address these questions, we perform a study by first interviewing 15 professionals and then surveying 599 practitioners from 18 IT companies about their expectations on code completion. We then compare the practitioner expectations with the existing research by conducting a literature review of papers on code completion published in major publication venues from 2012 to 2022. Based on the comparison, we highlight the directions desirable for researchers to invest efforts toward developing code completion techniques for meeting practitioner expectations.Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China (62161146003)
- Tencent Foundation (XPLORER PRIZE)
This publication has 38 references indexed in Scilit:
- A language model for statements of software code2017
- Stepwise API usage assistance using n -gram language modelsJournal of Systems and Software, 2017
- A Study of Visual Studio Usage in Practice2016
- Code completion with statistical language models2014
- An Empirical Study of RefactoringChallenges and Benefits at MicrosoftIEEE Transactions on Software Engineering, 2014
- Complete completion using types and weights2013
- Type-directed completion of partial expressions2012
- Learning from examples to improve code completion systems2009
- Parseweb2007
- Jungloid mining2005