Você está na página 1de 4

Key Combination

CTRL + O

Ctrl + Shift + O

CTRL + SHIFT + R

CTRL + SHIFT + T

CTRL + SHIFT + F
CTRL + SHIFT + G
ALT + SHIFT + R
ALT + Up/Down Arrow
ALT + Left/Right Arrow

Ctrl+Space
Ctrl+Shift+/

CTRL + D
CTRL + M
CTRL+E
Ctrl+1
Shift+Enter
Shift+Ctrl+Enter
Ctrl+S
Ctrl+Shift+S
Ctrl+W
Ctrl+Shift+W
Ctrl+Z
Ctrl+Y

F4

F3
F2

CTRL + Click

On a
CTRL + Mouse Hover method

CTRL + F11
F11
CTRL+SHIFT+B
CTRL + /
Ctrl+A or Ctrl+i
Ctrl+L
F5 Debug
F6 Debug
F7 Debug
F8 Debug
Description

Opens a pop up which lists the class members (variables and methods).
For organize imports. This will also add import statements if u didn't
added previously.
Opens a dialog box which lists all the files in the workspace when you
start typing in the text box.

Opens a dialog box which lists all the class files(Even present inside the
JAR) in the workspace when you start typing in the text box.

Formats code. You can make beautiful looking code out of a mess with
this. Be careful while using this since it might also make unnecessary
changes while formatting.(no code changes though). It requires a bit of
setup. You can find its settings under Window->Preferences->Java->Code
style->Formatter.
Opens all the method calls or the variable occurances
To rename a variable, method and all its occurances
Move
Move the rowlast
to the (orlocation
the entire
youselection) up or down.
edited. (Backward using ALT + Left Arrow
and Forward using ALT + Right Arrow)
Content assist which proposes methods/member variables and more
based on my typing.
add comment, remove comment with Ctrl+Shift+\.
Deletes a line in which the cursor is present. If mulitiple lines are
selected, deletes the entire selected lines.
Maximize or umaximize current tab.
Shows you a list of all open editors.
Open Quick Fix and Quick Assist
Enter line below current line
Enter line above current line
Save Current file
Save all files
Close current file opened in the editor
Close all files opened in the editor
Undo
Redo
Opens the hierarchy of the current class through all its supper classes till
the Super most class in Java (Object Class)

Jumps to file, variable, method declaration/definition.


Open class, method, or variable information (as tooltip text)
Similar to F3, press the Ctrl key and mouse hover over the code, Either
click it or select Open Declaration.

If the method comes from an interface instance, to find in which class it is


implemented, mouse hover and select open implementation

To run a program - simillar to right click and select run as Java application
To Debug a program - simillar to right click and select Debug as Java
application
Create Break point
One more option to used for commenting in Eclipse.
For aligning your code. Better than CTRL+SHIFT+F
Used to go to line number in eclipse
To move inside a method in an execution
To move to next line of execution
To return to the current method invoking line
To move to next break point

Você também pode gostar