【24h】

Active code completion

机译:活动代码完成

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:对于大多数开发人员,代码完成菜单已取代独立的API浏览器,因为它们与开发工作流程的集成更加紧密。相对于提供类似功能的独立副本,对包含其他信息源的代码完成菜单的改进也同样具有重要意义。在本文中,我们描述了主动代码完成,一种允许库开发人员将交互式且高度专业化的代码生成接口(称为调色板)直接引入编辑器的体系结构。使用几种经验方法,我们检查了这样的系统可能有用的上下文,描述了控制系统体系结构以及特定代码完成接口的设计约束,并为Eclipse Java开发环境设计了一个这样的系统,称为Graphite。使用Graphite,我们实现了一个用于写正则表达式的调色板作为主要示例,并进行了小规模的初步研究。除了展示这种方法的可行性之外,它还提供了进一步的证据来支持这种说法,即将专业代码完成接口直接集成到编辑器中对于专业开发人员来说是有价值的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号