I have some launch files for the project which i use to run from the Run Configurations.
Is there any way to create a keyboard shortcut to run particular launch file so that i can just press a key to launch?
I have tried from Preferences -> General -> Keys, but there i didn't found my required launch configuration.
Thanks
No, there is no way to assign a particular key sequence to a particular launch configuration. All you can do is to either:
This applies when you press F11 or ctrl-F11. You can always manually launch a particular file by doing Right Click Run As or alt-shift-X, J for java applications or alt-shift-X T for JUnit tests.
From Preferences->Run/Debug->Launching:
The last configuration used can be launched with f11 but you must enable Preferences -> Run/Debug -> Launching -> Always launch the previously...
If you select "Launch the selected resource..." and "Always launch the previously..." first, it will try to launch the active editor and if it's not possible the last configuration launched.
I don't know if there is the possibility to assign shortcuts for the others.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With