Active code completion
- 1 June 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02705257,p. 859-869
Abstract
Code completion menus have replaced standalone API browsers for most developers because they are more tightly integrated into the development workflow. Refinements to the code completion menu that incorporate additional sources of information have similarly been shown to be valuable, even relative to standalone counterparts offering similar functionality. In this paper, we describe active code completion, an architecture that allows library developers to introduce interactive and highly-specialized code generation interfaces, called palettes, directly into the editor. Using several empirical methods, we examine the contexts in which such a system could be useful, describe the design constraints governing the system architecture as well as particular code completion interfaces, and design one such system, named Graphite, for the Eclipse Java development environment. Using Graphite, we implement a palette for writing regular expressions as our primary example and conduct a small pilot study. In addition to showing the feasibility of this approach, it provides further evidence in support of the claim that integrating specialized code completion interfaces directly into the editor is valuable to professional developers.Keywords
This publication has 14 references indexed in Scilit:
- Active code completion2011
- An evaluation of the strategies of sorting, filtering, and grouping API methods for Code Completion2011
- The Qualitas Corpus: A Curated Collection of Java Code for Empirical Studies2010
- Registration-based language abstractions2010
- Improving API documentation using API usage information2009
- How Program History Can Improve Code Completion2008
- The Factory Pattern in API Design: A Usability Evaluation29th International Conference on Software Engineering (ICSE'07), 2007
- How are Java software developers using the Eclipse IDE?IEEE Software, 2006
- Barista2006
- Evolution of Novice Programming Environments: The Structure Editors of Carnegie Mellon UniversityInteractive Learning Environments, 1994