【24h】

Learning from examples to improve code completion systems

机译:从示例中学习以改进代码完成系统

获取原文

摘要

The suggestions made by current IDE's code completion features are based exclusively on static type system of the programming language. As a result, often proposals are made which are irrelevant for a particular working context. Also, these suggestions are ordered alphabetically rather than by their relevance in a particular context. In this paper, we present intelligent code completion systems that learn from existing code repositories. We have implemented three such systems, each using the information contained in repositories in a different way. We perform a large-scale quantitative evaluation of these systems, integrate the best performing one into Eclipse, and evaluate the latter also by a user study. Our experiments give evidence that intelligent code completion systems which learn from examples significantly outperform mainstream code completion systems in terms of the relevance of their suggestions and thus have the potential to enhance developers' productivity.
机译:当前IDE的代码完成功能提出的建议仅基于编程语言的静态类型系统。结果,经常提出与特定工作环境无关的建议。同样,这些建议按字母顺序排列,而不是根据它们在特定上下文中的相关性排列。在本文中,我们提出了从现有代码存储库中学习的智能代码完成系统。我们已经实现了三个这样的系统,每个系统以不同的方式使用存储库中包含的信息。我们对这些系统进行了大规模的定量评估,将性能最好的一个集成到Eclipse中,并通过用户研究对其进行了评估。我们的实验表明,从示例中学习的智能代码完成系统在建议的相关性方面明显优于主流代码完成系统,因此具有提高开发人员生产力的潜力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号