Eclipse keyboard 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

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 + /

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

Ctrl + ↑   Shift + \

Remove block comment

Alt + ↑   Shift + J

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

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 + Mouse movement

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 (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:

Similar programs

  1. Fortnite (PC)Fortnite (PC)
    13121    1
  2. SketchUpSketchUp
  3. PlayerUnknown's BattlegPlayerUnknown's Battleg
    7146    2
  4. Total CommanderTotal Commander
  5. Notepad++Notepad++
  6. AMD Radeon ReLiveAMD Radeon ReLive
    5778    2
More keyboard shortcuts...



What is your favorite Eclipse hotkey? Do you have any useful tips for program? Let other users know below.