{"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.