The Community for Technology Leaders
2008 23rd IEEE/ACM International Conference on Automated Software Engineering (2008)
L'Aquila
Sept. 15, 2008 to Sept. 19, 2008
ISBN: 978-1-4244-2187-9
pp: 317-326
R. Robbes , Lugano Univ., Lugano
M. Lanza , Lugano Univ., Lugano
ABSTRACT
Code completion is a widely used productivity tool. It takes away the burden of remembering and typing the exact names of methods or classes: As a developer starts typing a name, it provides a progressively refined list of candidates matching the name. However, the candidate list always comes in alphabetic order, i.e., the environment is only second-guessing the name based on pattern matching. Finding the correct candidate can be cumbersome or slower than typing the full name. We present an approach to improve code completion with program history. We define a benchmark measuring the accuracy and usefulness of a code completion engine. Further, we use the change history data to also improve the results offered by code completion tools. Finally, we propose an alternative interface for completion tools.
INDEX TERMS
pattern matching, code completion, productivity tool
CITATION

M. Lanza and R. Robbes, "How Program History Can Improve Code Completion," 2008 23rd IEEE/ACM International Conference on Automated Software Engineering(ASE), L'Aquila, 2008, pp. 317-326.
doi:10.1109/ASE.2008.42
95 ms
(Ver 3.3 (11022016))