Eclipse keyboard shortcuts 

Eclipse    

Ze Zeynel -
6 years ago
- Shortcuts
0
Ctrl + N

Create a new project with Wizard

1
Ctrl + Alt + N

Create a new project, file, class, etc.

0
Alt + F then .

Open project, file, etc.

1
Ctrl + ↑  Shift + R

Open resource file, folder or project

1
Alt + ⤶ Enter

Show and access file properties

0
F5

Refresh content of selected element within local file system

1
Ctrl + S

Save currently open file

3
Ctrl + ↑  Shift + S

Save all open files

1
Ctrl + W

Close currently open file

0
Ctrl + ↑  Shift + W

Close all files

Advertisement

1
F12

Jump to the editor window

1
Ctrl + Page Down

Switch to previous editor

0
Ctrl + Page Up

Switch to next editor

1
Ctrl + M

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

-1
Ctrl + E

Show the list of open editors

1
Ctrl + F6

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

3
Alt +   

Go to previous / next editor windows

1
Alt + -

Open Editor Window Option menu

0
Ctrl + F10

Show view menu

1
Ctrl + F10 then N

Show / hide line numbers

0
Ctrl + ↑  Shift + Q

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

0
Ctrl + ↑  Shift + +

Zoom in

1
Ctrl + ↑  Shift + -

Zoom out

2
Home

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

0
End

Jump to end of line

0
Ctrl + Home

Jump to beginning of source

1
Ctrl + End

Jump to end of source

0
Ctrl +   

Jump one word to the left / right

0
Ctrl + ↑  Shift +   

Jump to previous / next method

0
Ctrl + L

Jump to line number

1
Ctrl + Q

Jump to last edited location

-2
Ctrl + .

Jump to previous / next compiler syntax warning or error

-1
or Ctrl + ,
0
Ctrl + ↑  Shift + P

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

2
Ctrl + [

Collapse / expand current method or class

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

Collapse / expand all methods or classes

0
Ctrl +   

Scroll editor without changing cursor position

1
Alt + Page Up

Previous sub-tab

0
Alt + Page Down

Next sub-tab

0
↑  Shift +   

Expand selection by one character to the left or right

1
Ctrl + ↑  Shift +   

Expand selection to the next or previous word

1
↑  Shift +   

Expand selection by one line up or down

0
↑  Shift + End

Expand selection to end of line

1
↑  Shift + Home

Expand eslection to beginning of line

0
Alt + ↑  Shift +

Expand selection to current element

0
Alt + ↑  Shift +   

Expand selection to previous or next element

0
Alt + ↑  Shift +

Reduce previously expanded selection by one step

1
Ctrl + C

Copy

0
Ctrl + X

Cut

0
Ctrl + V

Paste

0
Ctrl + Z

Undo last action

1
Ctrl + Y

Redo last undone action

1
Ctrl + D

Delete line

Advertisement

-1
Alt +   

Move current line or selection up or down

0
Ctrl + Alt +   

Duplicate current line or selection up or down

0
Ctrl + Del

Delete next word

0
Ctrl + Backspace

Delete previous word

0
↑  Shift + ⤶ Enter

Enter line below current line

0
↑  Shift + Ctrl + ⤶ Enter

Enter line above current line

0
Insert

Switch between insert and overwrite mode

0
↑  Shift + Ctrl + Y

Convert selection to lowercase

0
↑  Shift + Ctrl + X

Convert selection to uppercase

0
Ctrl + F

Open find and replace dialog box

0
Ctrl + K

Find previous occurence of the search term

0
Ctrl + ↑  Shift + K

Find next occurence of the search term

0
Ctrl + H

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

0
Ctrl + J

Incremental search forward

-1
Ctrl + ↑  Shift + J

Incremental search backwards

0
Ctrl + ↑  Shift + O

Open a resource search dialog to find any class

0
Tab

Increase indent of selected text

0
↑  Shift + Tab

Decrease indent of selected text

0
Ctrl + I

Correct indention of selected text or current line

4
Ctrl + ↑  Shift + F

Auto format all code in editor using code formatter

0
Ctrl + /

Comment / uncomment line or selection (add //)

0
Ctrl + ↑  Shift + C

Toggle comments

1
Ctrl + ↑  Shift + /

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

0
Ctrl + ↑  Shift + \

Remove block comment

0
Alt + ↑  Shift + J

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

0
Alt + ↑  Shift + S

Open "Source" menu

1
Ctrl + Space

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

1
Ctrl + 1

Open quick fix and quick assist

0
Alt + /

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

0
Ctrl + ↑  Shift + Insert

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

0
Ctrl + O

Show code outline or structure

0
F2

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

0
F3

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

0
F4

Open Type Hierarchy window for selected item

0
Ctrl + T

Show or open Quick Type Hierarchy for selected item

0
Ctrl + ↑  Shift + T

Open type in hierarchy

0
Ctrl + Alt + H

Open call hierarchy

0
Ctrl + ↑  Shift + U

Find occurrences of expression in current file

0
Ctrl +

Open declaration or implementation

1
Alt + ↑  Shift + R

Rename selected element and all references

0
Alt + ↑  Shift + V

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

0
Alt + ↑  Shift + C

Change method signature (with method name selected)

0
Alt + ↑  Shift + M

Extract selection to method

0
Alt + ↑  Shift + L

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

0
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)

0
Ctrl + F11

Save and launch application

0
F11

Debug

0
F5

Step into function

0
F6

Next step (line by line)

0
F7

Step out

0
F8

Skip to next breakpoint

0
Ctrl + F7

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

0
Ctrl + ↑  Shift + F7

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

0
Ctrl + P

Print

0
F1

Open Eclipse help

0
↑  Shift + F10

Show context menu

0
Ctrl + Alt + S

Synchronize with repository

0
Ctrl + Alt + C

Commit

0
Ctrl + Alt + U

Update

0
Ctrl + Alt + D

Update to revision

0
Ctrl + Alt + E

Merge

0
Ctrl + Alt + T

Show properties

0
Ctrl + Alt + I

Add to svn:ignore


Share this page on:
Is this page helpful?
0 0

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: eclipse.org

Last update: 4/2/2020 3:22 PM UTC

How easy to press shortcuts: 76%

More information >>

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

Platform detected: Windows or Linux

Similar programs



User operations

Add Eclipse to your list of favorites

Advertisement


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


 
? tout OP says: 5 years ago 10/30/2019 1:37 PM
Do not forget Ctrl + Shift + L