首页> 外文会议>Software Maintenance, 2009. ICSM 2009 >BCC: Enhancing code completion for better API usability
【24h】

BCC: Enhancing code completion for better API usability

机译:BCC:增强代码完成度以提高API的可用性

获取原文

摘要

Nowadays, programmers spend much of their workday dealing with code libraries and frameworks that are bloated with APIs. One common way of interacting with APIs is through Code Completion inside the code editor. By default, Code Completion presents in a scrollable list, in alphabetical order, all accessible members available in the apparent type and supertypes of a receiver expression. This default behavior for Code Completion should and can be further improved because (1) not all public methods are APIs and presenting non-API public members to a programmer is misleading, (2) certain APIs are meant to be accessible only in some limited contexts but not others, and (3) the alphabetical order separates otherwise logically related APIs, making it hard to see their connection. BCC (Better Code Completion) addresses these problems by enhancing Code Completion so that programmers can control how specific API elements should be sorted, filtered, and grouped.
机译:如今,程序员大部分时间都在处理与API API肿的代码库和框架。与API交互的一种常见方式是通过代码编辑器内部的代码完成。默认情况下,“代码完成”以可滚动列表的形式按字母顺序显示接收方表达式的表观类型和超类型中可用的所有可访问成员。代码完成的默认行为应该并且可以进一步得到改善,因为(1)并非所有公共方法都是API,并且向程序员提供非API公共成员会产生误导;(2)某些API仅在某些有限的上下文中才可访问(3)字母顺序将原本在逻辑上相关的API分开,从而很难看到它们之间的联系。 BCC(更好的代码完成功能)通过增强代码完成功能来解决这些问题,以便程序员可以控制应如何对特定的API元素进行排序,过滤和分组。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号