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 条
  • [21] How Practitioners Expect Code Completion?
    Wang, Chaozheng
    Hu, Junhao
    Gao, Cuiyun
    Jin, Yu
    Xie, Tao
    Huang, Hailiang
    Lei, Zhenyu
    Deng, Yuetang
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1294 - 1306
  • [22] Learning to Predict Code Review Completion Time In Modern Code Review
    Chouchen, Moataz
    Ouni, Ali
    Olongo, Jefferson
    Mkaouer, Mohamed Wiem
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (04)
  • [23] Learning to Predict Code Review Completion Time In Modern Code Review
    Moataz Chouchen
    Ali Ouni
    Jefferson Olongo
    Mohamed Wiem Mkaouer
    Empirical Software Engineering, 2023, 28
  • [24] Context Composing for Full Line Code Completion
    Semenkin, Anton
    Sokolov, Yaroslav
    Vu, Evgeniia
    PROCEEDINGS OF THE 2024 FIRST IDE WORKSHOP, IDE 2024, 2024, : 15 - 17
  • [25] Code Completion with Neural Attention and Pointer Networks
    Li, Jian
    Wang, Yue
    Lyu, Michael R.
    King, Irwin
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 4159 - 4165
  • [26] Principled Syntactic Code Completion using Placeholders
    de Souza Amorim, Luis Eduardo
    Erdweg, Sebastian
    Wachsmuth, Guido
    Visser, Eelco
    PROCEEDINGS OF THE 2016 ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING (SLE'16), 2016, : 163 - 175
  • [27] CCTEST: Testing and Repairing Code Completion Systems
    Li, Zongjie
    Wang, Chaozheng
    Liu, Zhibo
    Wang, Haoxuan
    Chen, Dong
    Wang, Shuai
    Gao, Cuiyun
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1238 - 1250
  • [28] Adaptive Code Completion with Meta-learning
    Fang, Liyu
    Huang, Zhiqiu
    Zhou, Yu
    Chen, Taolue
    THE 12TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2020, 2021, : 116 - 125
  • [29] Active knowledge graph completion
    Omran, Pouya Ghiasnezhad
    Taylor, Kerry
    Mendez, Sergio Rodriguez
    Haller, Armin
    INFORMATION SCIENCES, 2022, 604 : 267 - 279
  • [30] Active Factor Completion Strategies
    Dichtl, Hubert
    Drobetz, Wolfgang
    Lohre, Harald
    Rother, Carsten
    JOURNAL OF PORTFOLIO MANAGEMENT, 2021, 47 (02): : 9 - 37