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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
You can assign a keyboard binding to Build Project doing the following
- Open up the Keys preferences, Window> Preferences >General>Keys
- Filter by type Build Project
- Highlight the binding field.
You can then choose the binding you want
i.e.
Ctrl+ALt+B, P,
回答3:
I believe ctrl+b is already configured for this by default. Just need to have an edit window with focus.