How to run actual window main shortcut on Intellij for java? I have multiples main on my program, but i only want execute actual main when i press:
alt + shift + F10
Shift+F10 will run the currently selected run configuration.
There is no way to assign a keyboard shortcut to the specific run configuration in IntelliJ IDEA directly, but you can try a plug-in.