108 Eclipse IDE Keyboard Shortcuts

Learn Eclipse IDE Shortcuts for Windows

Managing files and projects Shortcuts

ActionEclipse IDE Shortcuts
Create a new project with WizardCtrl + N
Create a new project, file, class, etc.Ctrl + Alt + N
Open project, file, etc.Alt + F then .
Open resource files, folder, or projectCtrl + Shift + R
Show and access file propertiesAlt + Enter
Refresh the content of selected elements within the local file systemF5
Save the currently open fileCtrl + S
Save all open filesCtrl + Shift + S
Close the currently open fileCtrl + W
Close all filesCtrl + Shift + W

Editor Shortcuts

ActionEclipse Shortcuts
Jump to the editor windowF12
Switch to the previous editorCtrl + Page Down key
Switch to the next editorCtrl + Page Up key
Maximize or restore the current editor window (also works with other windows)Ctrl + M
Show the list of open editorsCtrl + E
Show the list of open editors, but switch immediately when you release CtrlCtrl + F6
Go to the previous editor windowsAlt + Left Arrow key
Go to the next editor windowsAlt + Right Arrow key
Open the Editor Window Option menuAlt + –
Show view menuCtrl + F10
Show/hide line numbersCtrl + F10 then N
Show or hide the diff. column on the leftCtrl + Shift + Q
Zoom inCtrl + Shift + +
Zoom outCtrl + Shift + –

Navigation in Editor Window Shortcuts

ActionEclipse Shortcuts
Jump to the beginning of the indention. Press twice to jump to the beginning of the lineHome
Jump to the end of the lineEnd
Jump to the beginning of the sourceCtrl + Home
Jump to the end of the sourceCtrl + End
Jump one word to the leftCtrl + Left Arrow key
Jump one word to the rightCtrl + Right Arrow key
Jump to the previous methodCtrl + Shift + Up Arrow key
Jump to the next methodCtrl + Shift + Down Arrow key
Jump to line numberCtrl + L
Jump to the last edited locationCtrl + Q
Jump to the previous compiler syntax warning or errorCtrl + .
Jump to the next compiler syntax warning or errorCtrl + ,
With a bracket selected: Jump to the matching closing or opening bracketCtrl + Shift + P
Collapse current method or classCtrl + [
Expand the current method or classCtrl + ]
Collapse/expand all methods or classesCtrl + *
Scroll editor without changing cursor positionCtrl + Up & Down Arrow key
Previous sub-tabAlt + Page Up key
Next sub-tabAlt + Page Down key

Text Editing Shortcuts

ActionEclipse Shortcut keys
CopyCtrl + C
CutCtrl + X
PasteCtrl + V
Undo the last actionCtrl + Z
Redo the last undone actionCtrl + Y
Delete lineCtrl + D
Move the current line or selection upAlt + Up Arrow key
Move the current line or selection downAlt + Down Arrow key
Duplicate current line or selection upCtrl + Alt + Up Arrow key
Duplicate the current line or selection downCtrl + Alt + Down Arrow key
Delete next wordCtrl + Delete
Delete the previous wordCtrl +  Backspace
Enter the line below the current lineShift + Enter
Enter the line above the current lineShift + Ctrl + Enter
Switch between insert and overwrite modeInsert
Convert selection to lowercaseShift + Ctrl + Y
Convert selection to uppercaseShift + Ctrl + X

Search and Replace Shortcuts

ActionEclipse Shortcut keys
Open the find and replace dialog boxCtrl + F
Find the previous occurrence of the search termCtrl + K
Find the next occurrence of the search termCtrl + Shift + K
Search Workspace (Java search, Task search, and File search)Ctrl + H
Incremental search forwardCtrl + J
Incremental search backwardsCtrl + Shift + J
Open a resource search dialog to find any classCtrl + Shift + O

Indentions and comments Shortcuts

ActionEclipse Shortcut keys
Increase the indent of selected textTab
Decrease the indent of selected textShift + Tab
Correct indention of selected text or current lineCtrl + I
Auto format all code in the editor using code formatterCtrl + Shift + F
Comment/uncomment line or selection (add //)Ctrl + /
Toggle commentsCtrl + Shift + C
Add block comment around selection (add /…*/)Ctrl + Shift + /
Remove block commentCtrl + Shift + \
Add element comment (add /** … */)Alt + Shift + J

Editing Source Code Shortcuts

ActionEclipse IDE Shortcuts
Open the “Source” menuAlt + Shift + S
Open content assist (e.g. show available methods or field names)Ctrl + Spacebar
Open quick fix and quick assistCtrl + 1
Suggest word completion (after typing at least one letter). Press repeatedly until reaching the correct nameAlt + /
Deactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.)Ctrl + Shift + Insert

Code Information Shortcuts

ActionEclipse IDE Shortcuts
Show code outline or structureCtrl + O
Open class, method, or variable information (show as tooltip text)F2
Open declaration: Jump to the Declaration of the selected class, method, or parameterF3
Open the Type Hierarchy window for the selected itemF4
Show or open Quick Type Hierarchy for the selected itemCtrl + T
Open type in hierarchyCtrl + Shift + T
Open call hierarchyCtrl + Alt + H
Find occurrences of expression in the current fileCtrl + Shift + U

Refactoring Shortcuts

ActionEclipse IDE Shortcuts
Rename selected element and all referencesAlt + Shift + R
Move the selected element to another class or file (with the complete method or class selected)Alt + Shift + V
Change method signature (with method name selected)Alt + Shift + C
Extract selection to methodAlt + Shift + M
Extract local variable: Create and assign a variable from the selected expressionAlt + Shift + L
Inline selected local variables, methods, or constants when possibleAlt + Shift + I

Running and Debugging Shortcuts

ActionEclipse IDE Shortcuts
Save and launch the applicationCtrl + F11
DebugF11
Step into functionF5
Next step (line by line)F6
Step outF7
Skip to the next breakpointF8

Team SVN Subversive Shortcuts

ActionEclipse IDE Shortcuts
Synchronize with repositoryCtrl + Alt + S
CommitCtrl + Alt + C
UpdateCtrl + Alt + U
Update to revisionCtrl + Alt + D
MergeCtrl + Alt + E
Show propertiesCtrl + Alt + T
Add to svn:ignoreCtrl + Alt + I

READ NEXT:

Back to top button