How Practitioners Expect Code Completion?
Chaozheng Wang, Junhao Hu, Cuiyun Gao, Yu Jin, Tao Xie, Hailiang Huang, Zhenyu Lei, Yuetang Deng
Abstract
Code completion has become a common practice for programmers during their daily programming activities. It aims at automatically predicting the next tokens or lines that the programmers tend to use. A good code completion tool can substantially save keystrokes and improve the programming efficiency for programmers. Recently, various techniques for code completion have been proposed for usage in practice. However, it is still unclear what are practitioners' expectations on code completion and whether existing research has met their demands. To fill the gap, we perform an empirical study by first interviewing 15 practitioners and then surveying 599 practitioners from 18 IT companies about their expectations on code completion. We then compare the practitioners' demands with current research via conducting a literature review of papers on code completion published in premier publication venues from 2012 to 2022. Based on the comparison, we highlight the directions desirable for researchers to invest efforts towards developing code completion techniques for meeting practitioners' expectations.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion cites ReACC: A Retrieval-Augmented Code Completion Framework
- Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion cites Language Models are Few-Shot Learners
- Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion cites Code Prediction by Feeding Trees to Transformers
- ReACC: A Retrieval-Augmented Code Completion Framework cites Language Models are Few-Shot Learners
- ReACC: A Retrieval-Augmented Code Completion Framework cites Code Prediction by Feeding Trees to Transformers
- ReACC: A Retrieval-Augmented Code Completion Framework cites Multi-task Learning based Pre-trained Language Model for Code Completion
- RLCoder: Reinforcement Learning for Repository-Level Code Completion cites ReACC: A Retrieval-Augmented Code Completion Framework
- RLCoder: Reinforcement Learning for Repository-Level Code Completion cites Code Prediction by Feeding Trees to Transformers
- RLCoder: Reinforcement Learning for Repository-Level Code Completion cites Code Completion by Modeling Flattened Abstract Syntax Trees as Graphs
- Multi-task Learning based Pre-trained Language Model for Code Completion cites Code Prediction by Feeding Trees to Transformers
- Code Completion by Modeling Flattened Abstract Syntax Trees as Graphs cites Code Prediction by Feeding Trees to Transformers
Cited by top-tier papers13
- Two Birds with One Stone: Boosting Code Generation and Code Search via a Generative Adversarial NetworkShangwen Wang, Bo Lin, Zhensu Sun, Ming Wen et al.OOPSLA 2023 · 21 citations
- CacheSlide: Unlocking Cross Position-Aware KV Cache Reuse for Accelerating LLM ServingYang Liu, Yunfei Gu, Liqiang Zhang, Chentao Wu et al.FAST 2026 · 14 citations
- RLCoder: Reinforcement Learning for Repository-Level Code CompletionYanlin Wang, Yanli Wang, Daya Guo, Jiachi Chen et al.ICSE 2025 · 13 citations
- Dataflow-Guided Retrieval Augmentation for Repository-Level Code CompletionWei Cheng, Yuhan Wu, Wei HuACL 2024 · 9 citations
- "My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding AssistantsYunbo Lyu, Zhou Yang, Jieke Shi, Jianming Chang et al.ASE 2025 · 8 citations
Builds on10
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- ReACC: A Retrieval-Augmented Code Completion FrameworkShuai Lu, Nan Duan, Hojae Han, Daya Guo et al.ACL 2022 · 208 citations
- Code Prediction by Feeding Trees to TransformersSeohyun Kim, Jinman Zhao, Yuchi Tian, Satish ChandraICSE 2021 · 179 citations
- Multi-task Learning based Pre-trained Language Model for Code CompletionFang Liu, Ge Li, Yunfei Zhao, Zhi JinASE 2020 · 162 citations
- Code Completion by Modeling Flattened Abstract Syntax Trees as GraphsYanlin Wang, Hui LiAAAI 2021 · 96 citations
Related papers
- Practitioners' Expectations on Automated Code Comment GenerationXing Hu, Xin Xia, David Lo, Zhiyuan Wan et al.ICSE 2022 · 50 citations
- Practitioners' Expectations on Automated Test GenerationXiao Yu, Lei Liu, Xing Hu, Jacky Keung et al.ISSTA 2024 · 5 citations
- Source Code Recommender Systems: The Practitioners' PerspectiveMatteo Ciniselli, Luca Pascarella, Emad Aghajani, Simone Scalabrino et al.ICSE 2023 · 6 citations
- Exploring Experiences with Automated Program Repair in PracticeFairuz Nawer Meem, Justin Smith, Brittany JohnsonICSE 2024 · 14 citations
- Natural Language to Code: How Far Are We?Shangwen Wang, Mingyang Geng, Bo Lin, Zhensu Sun et al.FSE 2023 · 24 citations
