Does the IntelliJ plugin SDK allow extending the run/debug configurations dialog

Basically, I would like to write a plugin for running/debugging Java applications, but I need another parameter specified as part of the run configuration. This field would configure part of the program arguments, but I don't want users have to construct the whole program arguments themselves. This field  just configures part of the arguments. How would I add the UI for that? In Eclipse, you can add a custom tab and/or fields to run configurations. Is there a way to do something similar in Intellij? Or, alternatively popup a dialog when they try to run a target?

2 comments
Comment actions Permalink

I needed to add a unit test library as an option to the unit test dialog. AFAIK it didn't have an API so I just changed it by adding methods , some classes to the package and also some more options- the option to select private methods for testing and to have the generated test class be a member (an inner) class of the class under test. It's not quite done , but it's doable.  In effect, the code represents a fork of community. I have a bunch of things like this going on. The only bad thing is there's no way to integrate with the  enterprise edition so you end up going back and forth between the two editions to get what you want.

0
Comment actions Permalink

Yes, this is possible. See the RunConfigurationExtension API class.

0

Please sign in to leave a comment.