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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.