Sie sind auf Seite 1von 8

14/11/2016 102 Keyboard Shortcuts for Eclipse

A wiki‐style reference database for keyboard shortcuts


 

Eclipse win Comments ﴾29﴿ Edit Add

  FAQ login/ register

  764

Main Menu Eclipse Shortcuts  


Home Uploaded by bernd,  PDF   Print 
My Shortcuts updated on 11/29/2015 by bernd  Hide all   Show all
Login/ Register Platform: Windows/ English

Platforms:
Linux Shortcuts
Mac OS Shortcuts
Windows Shortcuts
Web Applications

New Windows Shortcuts:


Clink
Paint.net
Console2
FreeMeta

Site:
About
Discuss
Add Page
Give Feedback

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 1/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

Table of Contents:
1. Manage Files and Projects
2. Editor Window
3. Navigate in Editor
4. Select Text
5. Edit Text
6. Search and Replace
7. Indentions and Comments
8. Editing Source Code
9. Code Information
10. Refactoring
11. Run and Debug
12. The Rest
13. Team ﴾SVN Subversive﴿

Eclipse4 Training&Support

Get training & support for


Eclipse4 (e4)

eclipsesource.com/e4

1. Manage Files and Projects

Ctrl + N Create n ew project using the Wizard

Ctrl + Alt + N Create n ew project, file, class, etc.

Alt + F , then . Open project, file, etc.

Ctrl + Shift + R Open R esource ﴾file, folder or project﴿

Alt + Enter Show and access file properties

Ctrl + S S ave current file

Ctrl + Shift + S S ave all files

Ctrl + W Close current file

Ctrl + Shift + W Close all files

Refresh content of selected element with


https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 2/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

F5 local file system

▲ up
2. Editor Window

Focus/ cursor must be in Editor Window for these to work.

F12 Jump to Editor Window

Switch to next editor /


Ctrl + Page Down / Ctrl + Page Up switch to previous
editor
M aximize or un‐
Ctrl + M maximize current Editor
Window ﴾also works for
other Windows﴿
Show list of open
Ctrl + E Editors. Use arrow keys
and enter to switch
Show list of open
Editors. Similar to
Ctrl + F6 / Ctrl + Shift + F6 ctrl + e but switches
immediately upon
release of ctrl
Go to previous / go to
Alt + Arrow Left / Alt + Arrow Right
next Editor Window
Open Editor Window
Alt + ‐
Option menu
Show view menu
﴾features available on
Ctrl + F10 left vertical bar:
breakpoints, bookmarks,
line numbers, …﴿
Show or hide line
Ctrl + F10 , then n
n umbers
Show or hide the diff
column on the left
Ctrl + Shift + Q
﴾indicates changes since
last save﴿

▲ up
3. Navigate in Editor

Jump to beginning /
jump to end of
Home / End indention. Press
home twice to jump
to beginning of line
Jump to beginning /
Ctrl + Home / End
jump to end of source
Jump one word to the
https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 3/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

Ctrl + Arrow Right / Arrow Left left / one word to the


right

Jump to previous /
Ctrl + Shift + Arrow Down / Arrow Up
jump to next method
Jump to L ine
Number. To
hide/show line
Ctrl + L
numbers, press
ctrl + F10 and select
'Show Line Numbers'
Jump to last location
Ctrl + Q
edited
Jump to next / jump
to previous compiler
Ctrl + . / Ctrl + ,
syntax warning or
error
With a bracket
selected: jump to the
Ctrl + Shift + P
matching closing or
opening bracket
Collapse / Expand
Ctrl + [ + ] / Ctrl + ‐ on numeric
current method or
keyboard class
Ctrl + [ / ] / Ctrl + * on numeric Collapse / Expand all
keyboard methods or classes
Scroll Editor without
Ctrl + Arrow Down / Ctrl + Arrow Up changing cursor
position
Next Sub‐Tab /
Alt + Page Up / Alt + Page Down
Previous Sub‐Tab

▲ up
4. Select Text

Expand selection by
Shift + Arrow Right / Arrow Left one character to the
left / to the right
Expand selection to
Ctrl + Shift + Arrow Right / Arrow Left
next / previous word
Expand selection by
Shift + Arrow Down / Arrow Up one line down / one
line up
Expand selection to
Shift + End / Home end / to beginning of
line

Ctrl + A Select a ll

Expand selection to
current element ﴾e.g.
Alt + Shift + Arrow Up current one‐line
expression or content
within brackets﴿

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 4/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

Expand selection to
Alt + Shift + Arrow Left / Arrow Right
next / previous
element
Reduce previously
Alt + Shift + Arrow Down expanded selection
by one step

▲ up
5. Edit Text

Cut, copy
Ctrl + C / Ctrl + X / Ctrl + V
and paste
Undo last
Ctrl + Z
action
Redo last
Ctrl + Y ﴾undone﴿
action
D elete
Ctrl + D
Line
Move
current
line or
Alt + Arrow Up / Arrow Down
selection
up or
down
Duplicate
current
line or
Ctrl + Alt + Arrow Up / Ctrl + Alt + Arrow Down /
selection
up or
down
Delete
Ctrl + Delete
next word
Delete
Ctrl + Backspace previous
word
Enter line
below
Shift + Enter
current
line
Enter line
above
Shift + Ctrl + Enter
current
line
Switch
between
Insert insert and
overwrite
mode
Change
selection
to all
Shift + Ctrl + Y
lower case

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 5/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

Change
Shift + Ctrl + X selection
to all
upper case

▲ up
6. Search and Replace

Ctrl + F Open f ind and replace dialog

Find previous / find next


Ctrl + K / Ctrl + Shift + K occurrence of search term ﴾close
find window first﴿
Search Workspace ﴾Java Search,
Ctrl + H
Task Search, and File Search﴿
Incremental search forward /
backwards. Type search term after
Ctrl + J / Ctrl + Shift + J
pressing ctrl + j , there is now
search window
Open a resource search dialog to
Ctrl + Shift + O
find any class

▲ up
7. Indentions and Comments

Increase / decrease indent of selected


Tab / Shift + Tab
text
Correct i ndention of selected text or of
Ctrl + I
current line
Auto f ormat all code in Editor using
Ctrl + Shift + F
code formatter
Comment / uncomment line or selection
Ctrl + /
﴾ adds '//' ﴿
Add Block Comment around selection ﴾
Ctrl + Shift + /
adds '/... */' ﴿

Ctrl + Shift + \ Remove Block Comment

Alt + Shift + J Add Element Comment ﴾ adds '/** ... */'﴿

▲ up
8. Editing Source Code

Opens Content Assist ﴾e.g. show


Ctrl + Space
available methods or field names﴿

Ctrl + 1 Open Quick Fix and Quick Assist

Propose word completion ﴾after typing


Alt + / at least one letter﴿. Repeatedly press
alt + / until reaching correct name
Deactivate or activate Smart Insert Mode
﴾automatic indention, automatic
Ctrl + Shift + Insert

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 6/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

brackets, etc.﴿

▲ up
9. Code Information

Ctrl + O Show code o utline / structure

Open class, method, or variable


F2
information ﴾tooltip text﴿
Open Declaration: Jump to Declaration
F3
of selected class, method, or parameter
Open Type Hierarchy window for
F4
selected item
Show / open Quick T ype Hierarchy for
Ctrl + T
selected item

Ctrl + Shift + T Open Type in Hierarchy

Ctrl + Alt + H Open Call H ierarchy

Find occ u rrences of expression in


Ctrl + Shift + U
current file
Ctrl +move over
Open Declaration or Implementation
method

▲ up
10. Refactoring

R ename selected element and all


Alt + Shift + R
references
Mo v e selected element to other class
Alt + Shift + V or file ﴾With complete method or class
selected﴿
C hange method signature ﴾with
Alt + Shift + C
method name selected﴿

Alt + Shift + M Extract selection to m ethod

Extract l ocal variable: Create and


Alt + Shift + L assigns a variable from a selected
expression
I nline selected local variables, methods,
Alt + Shift + I or constants if possible ﴾replaces variable
with its declarations/ assignment and
puts it directly into the statements﴿

▲ up
11. Run and Debug

Ctrl + F11 Save and launch application ﴾run﴿

F11 Debug

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 7/8
14/11/2016 102 Keyboard Shortcuts for Eclipse

F5 Step Into function

F6 Next step ﴾line by line﴿

F7 Step out

F8 Skip to next Breakpoint

▲ up
12. The Rest

Switch forward / backward


between views ﴾panels﴿. Useful
Ctrl + F7 / Ctrl + Shift + F7 for switching back and forth
between Package Explorer and
Editor.
Switch forward / backward
Ctrl + F8 / Ctrl + Shift + F8
between perspectives

Ctrl + P P rint

F1 Open Eclipse Help

Show Context Menu


Shift + F10
right click with mouse

▲ up
13. Team ﴾SVN Subversive﴿

Ctrl + Alt + S S ynchronize with Repository

Ctrl + Alt + C C ommit

Ctrl + Alt + U U pdate

Ctrl + Alt + D Update to Revision

Ctrl + Alt + E Merge

Ctrl + Alt + T Show Properties

Ctrl + Alt + I Add to svn: i gnore

▲ up

Shortcuts published under Creative Common License where possible.


Website: Copyright 2006‐2016. Terms of Use

https://www.shortcutworld.com/shortcuts.php?l=en&p=win&application=Eclipse 8/8

Das könnte Ihnen auch gefallen