Possible Duplicate:
Writing a new refactoring plugin for Eclipse?
I'm looking for a way to add one or two refactorings to the Eclipse IDE (for Java code).
My idea was going to use some of the refactorings already available to implement my own although I am not sure this is entirely possible. I开发者_运维百科 googled a bit but didn't find any info on which dependencies I must add to make my plugin capable of using Eclipse's already available refactoring classes.
If I'm able to use Eclipse's refactoring classes for my own purposes I won't even have to delve deep in Eclipse's AST stuff, which would definitively be a big plus.
Anyone has any info on this? Has anyone some experience in coming up with refactoring plugins?
Thanks
Take a look at Unleashing the Power of Refactoring. It should tell you most of what you need to know. Mostly you need the Eclipse Java Development Tools (JDT) and the Refactoring Language Toolkit (LTK).
精彩评论