arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.05648cs.SE
收藏

NLP2Code:通过自然语言任务的代码嗅探器内容辅助

NLP2Code: Code Snippet Content Assist via Natural Language Tasks

Brock Angus Campbell, Christoph Treude

摘要:

开发人员越来越多地利用互联网将代码片段集成到他们的程序中。为了节省开发人员从开发环境切换到Web浏览器以寻找合适的代码片段所需的时间,我们引入了NLP 2Code,这是一个代码片段的内容帮助。与相关工具不同,NLP 2Code直接集成到源代码编辑器中,并为开发人员提供内容辅助功能,以缩小开发人员需求与代码片段Meta数据之间的词汇差距。我们对NLP 2Code的初步评估表明,大多数调用都会导致用户认为有用的代码片段,并且该工具能够支持广泛的任务。

英文摘要:

Developers increasingly take to the Internet for code snippets to integrate into their programs. To save developers the time required to switch from their development environments to a web browser in the quest for a suitable code snippet, we introduce NLP2Code, a content assist for code snippets. Unlike related tools, NLP2Code integrates directly into the source code editor and provides developers with a content assist feature to close the vocabulary gap between developers' needs and code snippet meta data. Our preliminary evaluation of NLP2Code shows that the majority of invocations lead to code snippets rated as helpful by users and that the tool is able to support a wide range of tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑