Assigning a keyboard shortcut for a specific Eclipse build configuration

前端 未结 4 632
孤街浪徒
孤街浪徒 2020-11-28 23:39

In our Java project in Eclipse, we have several build configurations, as we have an engine that when run, builds installation jar for a specific projects according to the pa

4条回答
  •  时光说笑
    2020-11-28 23:48

    One alternative is to use the accelerator keys to navigate the Run menu and select the right run configuration.

    On my computer it is:

    Alt + R, H, Number

    Alt+R gets you to get to Run menu, then H for Debug History, then one of the numbered alternatives.

    To make a run configuration always be visible in the Debug or Run history menus and retain its position one can do the following:

    Select the Run menu -> Run Configurations -> [some config] -> Common, then check Display in favourites menu box.

    (This answer is a copy of one of my previous answers.)

提交回复
热议问题