code completion
Recently Published Documents


TOTAL DOCUMENTS

77
(FIVE YEARS 34)

H-INDEX

13
(FIVE YEARS 2)

2021 ◽  
Author(s):  
Guangjie Li ◽  
Yi Tang ◽  
Biyi Yi ◽  
Xiang Zhang ◽  
Yan He

Code completion is one of the most useful features provided by advanced IDEs and is widely used by software developers. However, as a kind of code completion, recommending arguments for method calls is less used. Most of existing argument recommendation approaches provide a long list of syntactically correct candidate arguments, which is difficult for software engineers to select the correct arguments from the long list. To this end, we propose a deep learning based approach to recommending arguments instantly when programmers type in method names they intend to invoke. First, we extract context information from a large corpus of opensource applications. Second, we preprocess the extracted dataset, which involves natural language processing and data embedding. Third, we feed the preprocessed dataset to a specially designed convolutional neural network to rank and recommend actual arguments. With the resulting CNN model trained with sample applications, we can sort the candidate arguments in a reasonable order and recommend the first one as the correct argument. We evaluate the proposed approach on 100 open-source Java applications. Results suggest that the proposed approach outperforms the state-of-theart approaches in recommending arguments.


Author(s):  
Li Jingxuan ◽  
Rui Huang ◽  
Li Wei ◽  
Yao Kai ◽  
Tan Weiguo

2021 ◽  
Author(s):  
Jingxuan Li ◽  
Rui Huang ◽  
Wei Li ◽  
Kai Yao ◽  
Weiguo Tan

Author(s):  
Alexey Svyatkovskiy ◽  
Sebastian Lee ◽  
Anna Hadjitofi ◽  
Maik Riechert ◽  
Juliana Vicente Franco ◽  
...  

Author(s):  
Matteo Ciniselli ◽  
Nathan Cooper ◽  
Luca Pascarella ◽  
Denys Poshyvanyk ◽  
Massimiliano Di Penta ◽  
...  

Author(s):  
Htoo Htoo Sandi Kyaw ◽  
Ei Ei Htet ◽  
Nobuo Funabiki ◽  
Minoru Kuribayashi ◽  
Thandar Myint ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document