Towards Full-line Code Completion with Neural Language Models
Not on the map. Why?
Abstract (arXiv)
A code completion system suggests future code elements to developers given a partially-complete code snippet. Code completion is one of the most useful features in Integrated Development Environments (IDEs). Currently, most code completion techniques predict a single token at a time. In this paper, we take a further step and discuss the probability of directly completing a whole line of code instead of a single token. We believe suggesting longer code sequences can further improve the efficiency of developers. Recently neural language models have been adopted as a preferred approach for code completion, and we believe these models can still be applied to full-line code completion with a few improvements. We conduct our experiments on two real-world python corpora and evaluate existing neural models based on source code tokens or syntactical actions. The results show that neural language models can achieve acceptable results on our tasks, with significant room for improvements.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 1; 2024: 1.
6 papers.
- 2022Syntax-Aware On-the-Fly Code Completioncited by 10
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
- 2023AMOM: Adaptive Masking over Masking for Conditional Masked Language Modelcited by 5
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2024Full Line Code Completion: Bringing AI to Desktopcited by 4
- 2021Learning to Extend Program Graphs to Work-in-Progress Codecited by 3
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2023AMOM: Adaptive Masking over Masking for Conditional Masked Language Model13 Mar 2023
- 2022Syntax-Aware On-the-Fly Code Completion9 Nov 2022
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs21 May 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2021Learning to Extend Program Graphs to Work-in-Progress Code28 May 2021