Shortcut for creating run config for current class?

I find myself repeating the following process all the time:

1. Run -> Edit config -> Add new config -> Application
2. Name: class name of current file
3. Main class: class name of current file
4. OK

I am wondering if there is a short cut to automate all these steps.

1 comment
Comment actions Permalink


Try the editor context menu inside the main class: "Run ..." command. In Windows it's Ctrl+Shift+F10 by default. The temporary configuration is created and run.



Please sign in to leave a comment.