CPC G06F 8/33 (2013.01) [G06F 16/9024 (2019.01)] | 20 Claims |
6. A method for recognizing an automatable edit sequence, comprising:
receiving an edit sequence representing contiguous edits of a source code document in a tool, including receiving temporal data and spatial data for each edit, the source code document including a source code;
building an edit graph data structure from the edit sequence using the temporal data and the spatial data;
matching at least a portion of the edit graph data structure to a first temporal edit pattern in an automatable edit sequences library; and
proactively leveraging the first temporal edit pattern in the tool by at least one of:
offering to automatically repeat at least a portion of the edit sequence at a different location in the source code document;
offering to automatically repeat the edit sequence at target locations in the source code document, the target locations designated in an anchor target list;
displaying a result of automatically repeating the edit sequence to a copy of a different portion of the source code at the different location in the source code document;
automatically repeating at least a portion of the edit sequence at the different location in the source code document; or
automatically repeating the edit sequence at target locations in the source code document, the target locations designated in an anchor target list.
|