user1448750
user1448750

Reputation:

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

How do I compile my code in Eclipse using keyboard shortcut key? I have Googled this but could not find any answer.

In addition, if you know how to move through different tabs in Eclipse using keyboard short cut key, please tell me that too.

Upvotes: 18

Views: 34134

Answers (9)

nixxo_raa
nixxo_raa

Reputation: 402

To run code in eclipse use the followed shortcut key

Ctrl + f11

Upvotes: 0

arunkumar sambu
arunkumar sambu

Reputation: 663

use Ctrl+Shift+L in eclipse to get of shortcut list

Upvotes: -1

kaxi1993
kaxi1993

Reputation: 4700

On My Linux CTRL + F11 compiles code in Eclipse.

Upvotes: 0

oddRaven
oddRaven

Reputation: 672

alt + p + n + enter to clean

ctrl + b to build

Use both in this order to rebuild.

Upvotes: 0

user1329572
user1329572

Reputation: 6406

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.

Upvotes: 12

Felix Christy
Felix Christy

Reputation: 2193

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.

Upvotes: 3

Kazekage Gaara
Kazekage Gaara

Reputation: 15052

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

Upvotes: 1

Prabhu R
Prabhu R

Reputation: 61

ctrl + b will compile your project.

Upvotes: 0

maksimov
maksimov

Reputation: 5811

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.

Upvotes: 3

Related Questions