IntelliJ CLI?
已回答
Good morning,
My team has been working on a plugin to do some code convention checks. Essentially, we added in some errors that popup during IntelliJ compile. We would like the same checks to happen during in our build pipeline. Is there a way to execute an IntelliJ action from the command line? Something like:
"/Applications/IntelliJ IDEA 14.app" -action "check-conventions" myapp.iml
Then IntelliJ would launch in a headless fashion and dump the output to the command line.
thanks,
Jake
请先登录再写评论。
It's possible to run inspections via command line, see https://www.jetbrains.com/idea/help/running-inspections-offline.html . Your plug-in can provide additional inspections.
Thanks for the quick response. This is just what I was looking for.