How do I add a shortcut key to Eclipse 3.2 Java plug-in to build the current project?

前端 未结 3 997
迷失自我
迷失自我 2021-01-03 23:42

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 h

相关标签:
3条回答
  • 2021-01-04 00:16

    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.

    0 讨论(0)
  • 2021-01-04 00:37

    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, 
    
    0 讨论(0)
  • 2021-01-04 00:41

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

    0 讨论(0)
提交回复
热议问题