Reputation: 57
I commonly launch applications from Eclipse using either Run or Debug hotkeys (Ctrl + F11 or F11). Then, after some combination of using the application, the debug perspective, and/or the Java perspective, I end up editing code in the Java perspective and would like to launch the app again. A few iterations later, I realize all the previously launched applications are all still running.
I do know how to change key bindings under menu Window → Preferences → General → Keys, but I'm hoping for a way to wire one hotkey to "launch this application, but first terminate any running instances of it (ideally in either run or debug mode).
Partial solutions are also welcomed!!
Upvotes: 2
Views: 336
Reputation: 6314
With version >= 4.6
Preferences > Run/Debug > Launching
When the Terminate and Relaunch ...
checkbox is checked, it should behave as you want.
Upvotes: 4