Thu 27 May 2021 06:50 - 07:10 at Blended Sessions Room 3 - 2.5.3. Code Completion
Code completion is one of the killer features of modern Integrated Development Environments (IDEs), and researchers have proposed different methods to improve its accuracy. While these techniques are valuable to speed up code writing, they are limited to recommendations related to the next few tokens a developer is likely to type given the current context. In the best case, they can recommend a few APIs that a developer is likely to use next.
We present FeaRS, a novel retrieval-based approach that, given the current code a developer is writing in the IDE, can recommend the next complete method (i.e., signature and method body) that the developer is likely to implement. To do this, FeaRS exploits “implementation patterns” (i.e., groups of methods usually implemented within the same task) learned by mining thousands of open source projects. We instantiated our approach to the specific context of Android apps.
A large-scale empirical evaluation we performed across more than 20k apps shows encouraging preliminary results, but also highlights future challenges to overcome.
Wed 26 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
18:50 - 19:50 | 2.5.3. Code CompletionSEIP - Software Engineering in Practice / Technical Track at Blended Sessions Room 3 +12h Chair(s): Marsha Chechik University of Toronto | ||
18:50 20mPaper | Siri, Write the Next MethodTechnical Track Technical Track Fengcai Wen Software Institute, USI Università della Svizzera italiana, Emad Aghajani Software Institute, USI Università della Svizzera italiana, Csaba Nagy Software Institute, USI Università della Svizzera italiana, Michele Lanza Software Institute, USI Università della Svizzera italiana, Gabriele Bavota Software Institute, USI Università della Svizzera italiana Pre-print Media Attached | ||
19:10 20mPaper | Code Prediction by Feeding Trees to TransformersTechnical Track Technical Track Seohyun Kim Facebook, Jinman Zhao University of Wisconsin-Madison, USA, Yuchi Tian Columbia University, Satish Chandra Facebook, USA Pre-print Media Attached | ||
19:30 20mPaper | Learning Autocompletion from Real-World DatasetsSEIP SEIP - Software Engineering in Practice Pre-print Media Attached |
Thu 27 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
06:50 - 07:50 | 2.5.3. Code CompletionTechnical Track / SEIP - Software Engineering in Practice at Blended Sessions Room 3 | ||
06:50 20mPaper | Siri, Write the Next MethodTechnical Track Technical Track Fengcai Wen Software Institute, USI Università della Svizzera italiana, Emad Aghajani Software Institute, USI Università della Svizzera italiana, Csaba Nagy Software Institute, USI Università della Svizzera italiana, Michele Lanza Software Institute, USI Università della Svizzera italiana, Gabriele Bavota Software Institute, USI Università della Svizzera italiana Pre-print Media Attached | ||
07:10 20mPaper | Code Prediction by Feeding Trees to TransformersTechnical Track Technical Track Seohyun Kim Facebook, Jinman Zhao University of Wisconsin-Madison, USA, Yuchi Tian Columbia University, Satish Chandra Facebook, USA Pre-print Media Attached | ||
07:30 20mPaper | Learning Autocompletion from Real-World DatasetsSEIP SEIP - Software Engineering in Practice Pre-print Media Attached |