Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restarting an app in Eclipse

Tags:

eclipse

Is there any way to restart a program in Eclipse? (preferably 1-click)

I really wish the console view had something like a restart button that would kill the app and restart it with the latest changes.

This always takes me at least three clicks. I click the down arrow next to the green circle with white triangle (play button) to open the dropdown menu, then I click to choose the Java main that I want to run, and then to stop I click the red square terminate button in the console view. Is there any easier way to do this that requires fewer clicks?

like image 811
Ben McCann Avatar asked Feb 03 '23 00:02

Ben McCann


1 Answers

In Eclipse 4.1 open: windows->Preferences->keys

in the filter text type: terminate and relaunch

In the binding add your binding (i use shift-F5)

For "when" select "In Windows"

This will do it in single shorcut for you.

like image 125
Paulovsky Avatar answered Feb 06 '23 14:02

Paulovsky