Code completion from abbreviated input

54Citations
Citations of this article
54Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Abbreviation Completion is a novel technique to improve the efficiency of code-writing by supporting code completion of multiple keywords based on non-predefined abbreviated input - a different approach from conventional code completion that finds one keyword at a time based on an exact character match. Abbreviated input is expanded into keywords by a Hidden Markov Model learned from a corpus of existing code. The technique does not require the user to memorize abbreviations and provides incremental feedback of the most likely completions. This paper presents the algorithm for abbreviation completion, integrated with a new user interface for multiple-keyword completion. We tested the system by sampling 3000 code lines from open source projects and found that more than 98% of the code lines could be resolved from acronym-like abbreviations. A user study found 30% reduction in time usage and 41% reduction of keystrokes over conventional code completion. © 2009 IEEE.

Cite

CITATION STYLE

APA

Han, S., Wallace, D. R., & Miller, R. C. (2009). Code completion from abbreviated input. In ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering (pp. 332–343). https://doi.org/10.1109/ASE.2009.64

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free