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 条
  • [1] Active Code Completion
    Omar, Cyrus
    Yoon, YoungSeok
    LaToza, Thomas D.
    Myers, Brad A.
    2011 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2011), 2011, : 261 - 262
  • [2] Exploring and Improving Code Completion for Test Code
    Zhu, Tingwei
    Liu, Zhongxin
    Xu, Tongtong
    Tang, Ze
    Zhang, Tian
    Pan, Minxue
    Xia, Xin
    PROCEEDINGS 2024 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC 2024, 2024, : 137 - 148
  • [3] Survey of Intelligent Code Completion
    Yang B.
    Zhang N.
    Li S.-P.
    Xia X.
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (05): : 1435 - 1453
  • [4] Temporal Code Completion and Navigation
    Lee, Yun Young
    Harwell, Sam
    Khurshid, Sarfraz
    Marinov, Darko
    PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 1181 - 1184
  • [5] A Novel Code Completion Strategy
    Oumarou, Hayatou
    Dahirou, Ousmanou
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (05) : 866 - 871
  • [6] Cyanide code nears completion
    Anon
    2002, Primedia Intertec Publishing Corp. (203):
  • [7] Cyanide code nears completion
    不详
    E&MJ-ENGINEERING AND MINING JOURNAL, 2002, 203 (04): : 11 - 12
  • [8] Don't Complete It! Preventing Unhelpful Code Completion for Productive and Sustainable Neural Code Completion Systems
    Sun, Zhensu
    Du, Xiaoning
    Song, Fu
    Wang, Shangwen
    Ni, Mingze
    Li, Li
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS, ICSE-COMPANION, 2023, : 324 - 325
  • [9] Don't Complete It! Preventing Unhelpful Code Completion for Productive and Sustainable Neural Code Completion Systems
    Sun, Zhensu
    Du, Xiaoning
    Song, Fu
    Wang, Shangwen
    Ni, Mingze
    Li, Li
    Lo, David
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (01)
  • [10] Improving code completion with program history
    Romain Robbes
    Michele Lanza
    Automated Software Engineering, 2010, 17 : 181 - 212