Writing a new refactoring plugin for Eclipse?
I found the eclipse.org article the most helpful to get me started. To be honest you’re probably best off debugging some of the Eclipse refactorings to get a real feel for how they work. A good place to get started debugging the code is to set breakpoints on org.eclipse.jdt.core.dom.rewrite.ASTRewrite, particularly the rewriteAST() method, then trigger … Read more