views:

1109

answers:

3

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?

A: 

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

Robin
CTRL_B is build all, which is not what I am looking for. On the build menu it is the option right below "build all" that I am after.
Simon
+2  A: 

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
sometimes the clouds open and the sun shines :-) Thanks Keith.
Simon
A: 

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

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

You can then choose teh binding you want

i.e.

Ctrl+ALt+B, P,
Craig Angus