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

Hello,

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.

Greetings

1 comment
Comment actions Permalink

Start with com.intellij.execution.application.ApplicationConfiguration, a general description is available https://confluence.jetbrains.com/display/IDEADEV/Run+Configurations

0

Please sign in to leave a comment.