Refactoring API
Hi,
Sorry if this is a repeated post, but I was wondering if it is possible to use the Refactoring API outside the IDE/plugin.
I would like to call some refactorings on some java/xml source code files.
Do you have some links/examples to code that does that?
Thanks in advance!
Best regards,
Iulian Dumitru
Please sign in to leave a comment.
Hello iulian,
You can probably write a command-line application that would initialize IntelliJ
IDEA, configure your project and then invoke the necessary refactorings.
This will be fairly slow, though - initializing IDEA takes a long time.
See InspectionApplication in the CE source code for an example command-line
application.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"