Eclipse keyboard shortcuts


Zeynel Abidin Öztürk -
3 years ago
- Shortcuts
Ctrl + N

Create a new project with Wizard

Ctrl + Alt + N

Create a new project, file, class, etc.

Alt + F then .

Open project, file, etc.

Ctrl + ↑   Shift + R

Open resource file, folder or project

Alt + • Enter

Show and access file properties


Refresh content of selected element within local file system

Ctrl + S

Save currently open file

Ctrl + ↑   Shift + S

Save all open files

Ctrl + W

Close currently open file

Ctrl + ↑   Shift + W

Close all files


Jump to the editor window

Ctrl + Page Down

Switch to previous editor

Ctrl + Page Up

Switch to next editor

Ctrl + M

Maximize or restore current editor window (also works with other windows)

Ctrl + E

Show the list of open editors

Ctrl + F6

Show the list of open editors, but switch immediately when you release Ctrl

Alt + ←  β†’

Go to previous / next editor windows

Alt + -

Open Editor Window Option menu

Ctrl + F10

Show view menu

Ctrl + F10 then N

Show / hide line numbers

Ctrl + ↑   Shift + Q

Show or hide the diff. column on the left (column that indicates changes since last save)

Ctrl + ↑   Shift + +

Zoom in

Ctrl + ↑   Shift + -

Zoom out


Jump to beginning of indention. Press twice to jump to beginning of the line


Jump to end of line

Ctrl + Home

Jump to beginning of source

Ctrl + End

Jump to end of source

Ctrl + ←  β†’

Jump one word to the left / right

Ctrl + ↑   Shift + ↑  β†“

Jump to previous / next method

Ctrl + L

Jump to line number

Ctrl + Q

Jump to last edited location

Ctrl + .

Jump to previous / next compiler syntax warning or error

or Ctrl + ,
Ctrl + ↑   Shift + P

With a bracket selected: Jump to matching closing or opening bracket

Ctrl + [

Collapse / expand current method or class

or Ctrl + ]
or Ctrl + Num -
Ctrl + Num *

Collapse / expand all methods or classes

Ctrl + ↑  β†“

Scroll editor without changing cursor position

Alt + Page Up

Previous sub-tab

Alt + Page Down

Next sub-tab

↑   Shift + ←  β†’

Expand selection by one character to the left or right

Ctrl + ↑   Shift + ←  β†’

Expand selection to the next or previous word

↑   Shift + ↑  β†“

Expand selection by one line up or down

↑   Shift + End

Expand selection to end of line

↑   Shift + Home

Expand eslection to beginning of line

Alt + ↑   Shift + ↑

Expand selection to current element

Alt + ↑   Shift + ←  β†’

Expand selection to previous or next element

Alt + ↑   Shift + ↓

Reduce previously expanded selection by one step

Ctrl + C


Ctrl + X


Ctrl + V


Ctrl + Z

Undo last action

Ctrl + Y

Redo last undone action

Ctrl + D

Delete line

Alt + ↑  β†“

Move current line or selection up or down

Ctrl + Alt + ↑  β†“

Duplicate current line or selection up or down

Ctrl + Del

Delete next word

Ctrl + β¬… Backspace

Delete previous word

↑   Shift + • Enter

Enter line below current line

↑   Shift + Ctrl + • Enter

Enter line above current line


Switch between insert and overwrite mode

↑   Shift + Ctrl + Y

Convert selection to lowercase

↑   Shift + Ctrl + X

Convert selection to uppercase

Ctrl + F

Open find and replace dialog box

Ctrl + K

Find previous occurence of the search term

Ctrl + ↑   Shift + K

Find next occurence of the search term

Ctrl + H

Search Workspace (Java search, Task search, and File search)

Ctrl + J

Incremental search forward

Ctrl + ↑   Shift + J

Incremental search backwards

Ctrl + ↑   Shift + O

Open a resource search dialog to find any class

β­Ύ Tab

Increase indent of selected text

↑   Shift + β­Ύ Tab

Decrease indent of selected text

Ctrl + I

Correct indention of selected text or current line

Ctrl + ↑   Shift + F

Auto format all code in editor using code formatter

Ctrl + /

Comment / uncomment line or selection (add //)

Ctrl + ↑   Shift + C

Toggle comments

Ctrl + ↑   Shift + /

Add block comment arount selection (add /...*/)

Ctrl + ↑   Shift + \

Remove block comment

Alt + ↑   Shift + J

Add element comment (add /** ... */)

Alt + ↑   Shift + S

Open "Source" menu

Ctrl + Space

Open content assist (e.g. show available methods or field names)

Ctrl + 1

Open quick fix and quick assist

Alt + /

Suggest word completion (after typing at least one letter). Press repeatedly until reaching correct name

Ctrl + ↑   Shift + Insert

Deactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.)

Ctrl + O

Show code outline or structure


Open class, method, or variable information (show as tooltip text)


Open declaration: Jump to Declaration of selected class, method, or parameter


Open Type Hierarchy window for selected item

Ctrl + T

Show or open Quick Type Hierarchy for selected item

Ctrl + ↑   Shift + T

Open type in hierarchy

Ctrl + Alt + H

Open call hierarchy

Ctrl + ↑   Shift + U

Find occurrences of expression in current file

Ctrl +

Open declaration or implementation

Alt + ↑   Shift + R

Rename selected element and all references

Alt + ↑   Shift + V

Move selected element to other class or file (with complete method or class selected)

Alt + ↑   Shift + C

Change method signature (with method name selected)

Alt + ↑   Shift + M

Extract selection to method

Alt + ↑   Shift + L

Extract local variable: Create and assign a variable from selected expression

Alt + ↑   Shift + I

Inline selected local variables, methods or constants when possible (replaces variable with its declarations/ assignment and puts it directly into the statements)

Ctrl + F11

Save and launch application




Step into function


Next step (line by line)


Step out


Skip to next breakpoint

Ctrl + F7

Switch forward between panels. Useful for switching back and forth between Package Explorer and Editor

Ctrl + ↑   Shift + F7

Switch backward between panels. Useful for switching back and forth between Package Explorer and Editor

Ctrl + P



Open Eclipse help

↑   Shift + F10

Show context menu

Ctrl + Alt + S

Synchronize with repository

Ctrl + Alt + C


Ctrl + Alt + U


Ctrl + Alt + D

Update to revision

Ctrl + Alt + E


Ctrl + Alt + T

Show properties

Ctrl + Alt + I

Add to svn:ignore

Share this page on:

Program information

Program name: Eclipse Eclipse (Developer tools)

Eclipse is an integrated development environment (IDE) used in programming, and is most widely used Java IDE. It contains a base workspace and a plug-in system for customizing the environment.

Web page:

Last update: 02 Apr 2020

Updated: Added some shortcuts. (2 updates.) 1/7/2020 1:00:48 PM Updated program information.
4/2/2020 5:22:06 PM Added some shortcuts.

Shortcut count: 118

How easy to press shortcuts: 76%

Platform detected: Windows or Linux (not macOS)

Similar programs


Join our mailing list!

Your email is kept private and we don't spam.

tout says: 11 months ago 10/30/2019 1:37 PM
Do not forget Ctrl + Shift + L