vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

Capturing selections for processor based refactorings #170

Closed reprogrammer closed 13 years ago

reprogrammer commented 13 years ago

The method WatchedProcessorDelegate.populateInstrumentationData sets the attributes "code-snippet" and "selection-text" of the refactoring descriptor but not "selection-in-code-snippet" and "selection". If the user invokes the refactoring from within the editor the selection offset becomes meaningful. So, it would be nice to capture the selection offsets for processor based refactorings.

reprogrammer commented 13 years ago

We still need to capture the selections for unavailable processor based refactorings. But, we'll close this issue and follow the progress of it in issue #163.