Active Code Completion

被引:0
|
作者
Omar, Cyrus [1 ]
Yoon, YoungSeok [1 ]
LaToza, Thomas D. [1 ]
Myers, Brad A. [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
关键词
code completion; development environments;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:859 / 869
页数:11
相关论文
共 50 条
  • [41] A methodology for refined evaluation of neural code completion approaches
    Le, Kim Tuyen
    Rashidi, Gabriel
    Andrzejak, Artur
    DATA MINING AND KNOWLEDGE DISCOVERY, 2023, 37 (01) : 167 - 204
  • [42] Identifying the Factors That Influence Trust in AI Code Completion
    Brown, Adam
    D'Angelo, Sarah
    Murillo, Ambar
    Jaspan, Ciera
    Green, Collin
    PROCEEDINGS OF THE 1ST ACM INTERNATIONAL CONFERENCE ON AI-POWERED SOFTWARE, AIWARE 2024, 2024, : 1 - 9
  • [43] Dompletion: DOM-aware JavaScript code completion
    Bajaj, Kartik
    Pattabiraman, Karthik
    Mesbah, Ali
    ASE 2014 - Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering, 2014, : 43 - 54
  • [44] Code Completion Approach Based on Combination of Syntax and Semantics
    Fu S.-Q.
    Li Z.
    Zhao R.-L.
    Guo J.-X.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (11): : 3930 - 3943
  • [45] CCMC: Code Completion with a Memory Mechanism and a Copy Mechanism
    Yang, Hao
    Kuang, Li
    PROCEEDINGS OF EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING (EASE 2021), 2021, : 129 - 138
  • [46] An Empirical Study on the Usage of BERT Models for Code Completion
    Ciniselli, Matteo
    Cooper, Nathan
    Pascarella, Luca
    Poshyvanyk, Denys
    Di Penta, Massimiliano
    Bavota, Gabriele
    2021 IEEE/ACM 18TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2021), 2021, : 108 - 119
  • [47] Code completion of multiple keywords from abbreviated input
    Han, Sangmok
    Wallace, David R.
    Miller, Robert C.
    AUTOMATED SOFTWARE ENGINEERING, 2011, 18 (3-4) : 363 - 398
  • [48] BCC: Enhancing Code Completion for Better API Usability
    Pletcher, David M.
    Hou, Daqing
    2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 393 - 394
  • [49] Code completion of multiple keywords from abbreviated input
    Sangmok Han
    David R. Wallace
    Robert C. Miller
    Automated Software Engineering, 2011, 18 : 363 - 398
  • [50] ReACC: A Retrieval-Augmented Code Completion Framework
    Lu, Shuai
    Duan, Nan
    Han, Hojae
    Guo, Daya
    Hwang, Seung-Won
    Svyatkovskiy, Alexey
    Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2022, 1 : 6227 - 6240