Reputation: 977
How can I programmatically invoke intellij's java source code formatter on an arbitrary source file on disk?
I don't mind writing a plugin to do this but if there is a way to invoke the formatter from command line that would be great!
Thanks
Upvotes: 2
Views: 1146