I am not entirely sure this is possible, but I am trying to add a custom component (JButton, JLabel, etc...) to an existing Run Configuration Editor, so far this is what I have tried.
RunManager instance = RunManager.getInstance(project);
RunnerAndConfigurationSettings nodejsTemplate = instance.createConfiguration("my-config-name", NodeJsRunConfigurationType.getInstance());
However this produce an error:
java.lang.UnsupportedOperationException: This method should never be called!
So I guess that is the wrong direction.
I was thinking to create my own class and extends to the
However the class is private and I will have to make a lot of plumbing work.
Is there an easy way to achieve this? Thanks