Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse shortcut to run a class

I have an Eclipse project where I often launch the same java class. I have added my run configuration to the favorites menu, but to launch it I still need to click on the run-drop-down menu and click the icon - is there any way to associate a shortcut to this? When I searched for it I got lost in all the plugins & other things which seemed to be not so simple.

edit: Let me clarify, I want something I can type the moment I start eclipse, regardless of what page I'm viewing, so no "run last" or "run current"; I want F12 to link to "launch foo.bar.MainClass".

like image 226
Frank Meulenaar Avatar asked Sep 04 '25 16:09

Frank Meulenaar


1 Answers

Just use Ctrl + F11. (This is the standard keyboard shortcut to run the class you are working on)

I wish this is what you are looking for... buddy.

like image 51
Dan Ortega Avatar answered Sep 07 '25 07:09

Dan Ortega