How to assign a keyboard shortcut to launch configuration in IntelliJ?

It seems you can assign a keyboard shortcut to just about everything else, but I see no way to do this for a startup / debug configuration?

Launch options are listed in the drop-down list on the IntelliJ toolbar. I would like to set up a launch configuration that can perform two maven tasks in sequence (jetty: stop and then jetty: start if you're interested) and assign a keyboard shortcut for this action.

Any ideas?

+6
intellij-idea maven-2
source share
2 answers

At last! JetBrains implemented this feature in IntelliJ IDEA v9.

+2
source share

in Idea 8, anyway, you can specify a shortcut for any file menu item - even for Maven purposes. Try the settings - Keymap and find the Maven targets. You will probably need two keys. One for each action.

+1
source share

All Articles