user2802450
user2802450

Reputation: 57

Possible to change Eclipse hotkey Ctrl-F11 from "run" to "terminate previous apps and run"?

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 WindowPreferencesGeneralKeys, 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

Answers (1)

Oleg
Oleg

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

Related Questions