How do I compile my code in Eclipse using keyboard shortcut key

For full project it is ctrl + B (build all), this will compile your code. For individual java class please use ALT + SHIFT + X and then J, this will compile and run the java application.


In Eclipse to find out about the existing keyboard shortcuts or to change them, go to Window menu, click Preferences, in left sidebar expand General and select Keys. The list of commands and their keyboard associations will be on the right. You can use filter to quickly find what you are looking for.


How to switch between open tabs:

CTRL + F6 will give you a list of open tabs that you can scroll through.

Alt + (left or right arrows) does switch tabs, but it in a very odd way.

Best Approach is : Ctrl + Page Up, Ctrl + Page Down

How to compile:

Ctrl + B is the general way.

A few more useful shortcuts:

http://javarevisited.blogspot.in/2010/10/eclipse-tutorial-most-useful-eclipse.html


how to move through different tabs in eclipse using keyboard short cut key

Ctrl + F6, and then tap F6 to navigate through the tabs.

How do I compile my code in eclipse using keyboard shortcut key ?

The shortcut key can be found in the respective menu item. For a list of all Eclipse shortcut keys, use Ctrl + Shift + L


Reference: Effective Eclipse: Shortcut keys.