19

One of the few annoying things about the Eclipse Java plug-in is the absence of a keyboard shortcut to build the project associated with the current resource. Anyone know how to go about it?

Craig Angus
  • 22,784
  • 18
  • 55
  • 63
Simon
  • 78,655
  • 25
  • 88
  • 118

3 Answers3

27

In the Preferences dialog box, under the General section is a dialog box called "Keys". This lets you attach key bindings to many events, including Build Project.

KeithL
  • 1,150
  • 10
  • 12
8

You can assign a keyboard binding to Build Project doing the following

  1. Open up the Keys preferences, Window> Preferences >General>Keys
  2. Filter by type Build Project
  3. Highlight the binding field.

You can then choose the binding you want

i.e. Ctrl+ALt+B, P,

AEM
  • 1,354
  • 8
  • 20
  • 30
Craig Angus
  • 22,784
  • 18
  • 55
  • 63
1

I believe Ctrl+B is already configured for this by default. Just need to have an edit window with focus.

AEM
  • 1,354
  • 8
  • 20
  • 30
Robin
  • 24,062
  • 5
  • 49
  • 58