How to create a plugin to add Debug/Run to specific classes?


When you right click on a class with a  'public static void main(String[] args) throws Exception { ... }' you get the option to run, debug or profile the class.

How do you add this for specific types of classes and how can you define how its started ?

I hope some someone can give some information how to accomplish this.


1 comment
Comment actions Permalink

Start with com.intellij.execution.application.ApplicationConfiguration, a general description is available


Please sign in to leave a comment.