Code recommendation systems predict and present what the user is likely to write next by using the user's editing context, namely textual and semantic information about the programs being edited in a programming editor. Most existing systems however use information merely around the cursor position---i.e., the class/method definition at the cursor position---as the editing context. By including the code related to the current method/class, like the callers and callees of the method, recommendation could become more appropriate. We propose to use the user's editing activity for identifying code relevant to the current method/class. Specifically, we use a modified degree-of-interest model in the Mylyn task management tool, and incorporated the model in our repository-based code recommendation system, Selene. This paper reports the design of the system and the results of our initial experiments.
[1]
Makoto Iwayama,et al.
Information Access Based on Associative Calculation
,
2000,
SOFSEM.
[2]
Hidehiko Masuhara,et al.
A spontaneous code recommendation tool based on associative search
,
2011,
SUITE '11.
[3]
P. Cochat,et al.
Et al
,
2008,
Archives de pediatrie : organe officiel de la Societe francaise de pediatrie.
[4]
Hidehiko Masuhara,et al.
Optimizing a search-based code recommendation system
,
2012,
2012 Third International Workshop on Recommendation Systems for Software Engineering (RSSE).
[5]
Mik Kersten,et al.
Mylar: a degree-of-interest model for IDEs
,
2005,
AOSD '05.