Companion Proceedings of the 36th International Conference on Software Engineering 2014
DOI: 10.1145/2591062.2591076
|View full text |Cite
|
Sign up to set email alerts
|

Cookbook: in situ code completion using edit recipes learned from examples

Abstract: Existing code completion engines leverage only pre-defined templates or match a set of user-defined APIs to complete the rest of changes. We propose a new code completion technique, called Cookbook, where developers can define custom edit recipes-a reusable template of complex edit operations-by specifying change examples. It generates an abstract edit recipe that describes the most specific generalization of the demonstrated example program transformations. Given a library of edit recipes, it matches a develo… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2016
2016
2023
2023

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(3 citation statements)
references
References 9 publications
0
3
0
Order By: Relevance
“…Code completion. Cookbook [19] uses generalizations from examples to suggest code completions while the developer is typing. In contrast to ARES it is a line based approach and does not support code movements and thus has a lower accuracy if code movements are necessary.…”
Section: Related Workmentioning
confidence: 99%
“…Code completion. Cookbook [19] uses generalizations from examples to suggest code completions while the developer is typing. In contrast to ARES it is a line based approach and does not support code movements and thus has a lower accuracy if code movements are necessary.…”
Section: Related Workmentioning
confidence: 99%
“…It also helps developers to navigate to the past code examples to see the changes. Jacobellis et al leverage code completion to automate the edit operations of source code from user specified custom, reusable template of code changes.…”
Section: Related Workmentioning
confidence: 99%
“…For such a spot, LASE recommends a code change that is adapted to the spot's context. Cookbook [30] uses the generalizations to suggest code completions while the developer is typing. RASE [41] also starts from a set of similar changes.…”
Section: Introductionmentioning
confidence: 99%