A Two Phase Smart Code Editor

Melike Serra Kalyon, Y. S. Akgul
{"title":"A Two Phase Smart Code Editor","authors":"Melike Serra Kalyon, Y. S. Akgul","doi":"10.1109/HORA52670.2021.9461307","DOIUrl":null,"url":null,"abstract":"Intelligent code completion has become an area of interest to accelerate software development. In this study, novel methods for code completion are proposed and the performance of these methods on code completion is demonstrated. Deep Learning models are applied over large datasets to achieve code completion in dynamically written programming languages. In this study, an LSTM model that performs next word prediction is trained on the JavaScript programming language. The code completion system consists of two phases. In the first phase, multiple completion suggestions are generated from the LSTM model. In the second phase, these suggestions are checked by the JavaScript Parser and the best results are achieved. This system is an alternative solution where the model can be trained without preprocessing the training set with a Parser. The proposed method has been tested on the test dataset and the success of the code completion is shown in a quantitative way.","PeriodicalId":270469,"journal":{"name":"2021 3rd International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HORA52670.2021.9461307","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Intelligent code completion has become an area of interest to accelerate software development. In this study, novel methods for code completion are proposed and the performance of these methods on code completion is demonstrated. Deep Learning models are applied over large datasets to achieve code completion in dynamically written programming languages. In this study, an LSTM model that performs next word prediction is trained on the JavaScript programming language. The code completion system consists of two phases. In the first phase, multiple completion suggestions are generated from the LSTM model. In the second phase, these suggestions are checked by the JavaScript Parser and the best results are achieved. This system is an alternative solution where the model can be trained without preprocessing the training set with a Parser. The proposed method has been tested on the test dataset and the success of the code completion is shown in a quantitative way.
两阶段智能代码编辑器
智能代码完成已经成为加速软件开发的一个重要领域。本文提出了一些新的代码补全方法,并对这些方法在代码补全中的性能进行了验证。深度学习模型应用于大型数据集,以动态编写的编程语言实现代码完成。在这项研究中,执行下一个单词预测的LSTM模型是在JavaScript编程语言上训练的。代码补全系统包括两个阶段。在第一阶段,从LSTM模型生成多个完成建议。在第二阶段,这些建议由JavaScript Parser检查并获得最佳结果。该系统是一种替代解决方案,可以在不使用解析器预处理训练集的情况下训练模型。在测试数据集上对所提出的方法进行了测试,并以定量的方式显示了代码完成的成功。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信