Eclipse Keyboard Shortcuts:
Eclipse is the open-source software that can be used to develop client applications, integrated development environments, and other tools. Here we have listed the Eclipse keyboard shortcut keys for your easy use.
Last updated on Aug 4, 2020.
Download Eclipse Keyboard Shortcuts for Offline Study Here: Eclipse Shortcuts.PDF
Managing Files and Projects Shortcuts:
Shortcut
Function
CTRL +N
Used to Create a new project with Wizard
CTRL +Alt +N
It will create a new project , file , Open declaration: , etc.
Alt +F then .
Used to Open project, file, etc.
CTRL +Shift +R
It is Used to Open resource file, folder or project
Alt +Enter
Used to Show and access file properties
F5
It will Refresh the content of the selected elements within the local file system
CTRL +S
Used to Save currently open file
CTRL +Shift +S
Helps to Save all open files
CTRL +W
Used to Close the currently open file
CTRL +Shift +W
It will Close all files
Editor Shortcuts:
Shortcut
Function
F12
This Shortcut will Jump to the editor window
CTRL +PgDn
It is Used to Switch to the previous editor
CTRL +PgUp
Switch to next editor
CTRL +M
Used to Maximize or restore the current editor window and also works with other windows
CTRL +E
It will display the list of open editors
CTRL +F6
It is Used to Show the list of open editors, but switch immediately when you release CTRL
Alt +← →
Helps to Go to the previous or next editor windows
Alt +–
It will Open Editor Window Option menu
CTRL +F10
Used to Show view menu
CTRL +F10 then N
It is Used to Show or hide line numbers
CTRL +Shift +Q
It will show or hide the diff column on the left
CTRL +Shift ++
Zoom in
CTRL +Shift +–
Zoom out
Navigation in Editor Window Shortcuts:
Shortcut
Function
Home
Helps to Jump to the beginning of indention . Press twice to jump to the beginning of the line
End
It is Used to Jump to the end of line
CTRL +Home
This Shortcut will Jump to the beginning of the source
CTRL +End
Jump to the end of the source
CTRL +← →
It will Jump one word to the left or right
CTRL +Shift +↑↓
Used to move to previous or next method
CTRL +L
Used to Jump to line number
CTRL +Q
Used to Jump to Last edited location
CTRL +. or CTRL +,
This Shortcut will Jump to previous or next compiler syntax warning or error
CTRL +Shift +P
It is used to Jump to the matching closing or opening bracket With a bracket selected
CTRL +[ or CTRL +] or CTRL +num-
Used to Collapse or expand the current method or class
CTRL +num*
It is Used to Collapse or expands all methods or classes
CTRL +↑↓
Used to Scroll editor without changing cursor position
Alt +PgUp
Move to the Previous sub-tab
Alt +PgDn
Go to the Next sub-tab
Selecting Text Shortcuts:
Shortcut
Function
Shift +← →
This Shortcut will Expand selection by one character to the left or right
Ctrl +Shift +← →
Used to Expand selection to the next or previous word
Shift +↑↓
It is Used to Expand selection by one line up or down
Shift +End
It will Expand selection to end of the line
Shift +Home
Used to Expand selection to the beginning of the line
Alt +Shift +↑
It will Expand selection to the current element
Alt +Shift +← →
Used to Expand selection to previous or next element
Alt +Shift +↓
Used to Reduce previously expanded selection by one step
Editing Text Shortcuts:
Shortcut
Function
CTRL +C
Copy
CTRL +X
Cut
CTRL +V
Paste
CTRL +Z
Undo Last Action
CTRL +Y
Redo last undone action
CTRL +D
Used to Delete line
Alt +↑↓
This Shortcut is Used to Move current line or selection up or down
Ctrl +Alt +↑↓
It will Duplicate current line or selection up or down
CTRL +Del
Used to Delete next word
CTRL +Backspace
Helps to Delete the previous word
Shift +Enter
Use this Shortcut to Enter line below the current line
Shift +Ctrl +Enter
Used to Enter line above the current line
Insert
Used to Switch between the insert and overwrite mode
Shift +Ctrl +Y
This Shortcut can Convert selection to lowercase
Shift +Ctrl +X
It is Used to Convert selection to uppercase
Search and Replace Shortcuts:
Shortcut
Function
CTRL +F
Open find and replace dialog box
CTRL +K
It will find the previous occurrence of the search term
CTRL +Shift +K
Used to Find the next occurrence of the search term
CTRL +H
Helps to Search Workspace like Java search, Task search, and File search
CTRL +J
forward Incremental search
CTRL +Shift +J
backward Incremental search
CTRL +Shift +O
It will Open a resource search dialog to find any class
Shortcut
Function
Tab
Used to Increase indent of selected text
Shift +Tab
It is Used to Decrease indent of selected text
CTRL +I
Used to Correct indention of selected text or current line
CTRL +Shift +F
This Shortcut will format all code in the editor using code formatter Automatically
CTRL +/
Used to Comment or uncomment line or selection
CTRL +Shift +C
Used to Toggle comments
CTRL +Shift +/
It will Add block comment around the selection
CTRL +Shift +\
Used to Remove block comment
Alt +Shift +J
It is Used to Add element comment
Editing Source Code Shortcuts:
Shortcut
Function
Alt +Shift +S
This Shortcut will Open Source menu
CTRL +Space
It will Open content assist to show available methods or field names
CTRL +1
Used to Open quick fix and quick assist
Alt +/
It will suggest word completion after typing at least one letter. Kindly, Press repeatedly until reaching the correct name
CTRL +Shift +Insert
Used to deactivate or activate Smart Insert Mode like automatic indention, automatic brackets, etc.
Shortcut
Function
CTRL +O
It will Display code outline or structure
F2
Used to Open class, method, or variable information
F3
It will Jump to the Declaration of the selected class, method, or parameter. It is also called an Open declaration.
F4
Helps to Open Type Hierarchy window for the selected item
CTRL +T
It will Show or open Quick Type Hierarchy for the selected item
CTRL +Shift +T
Used to Open type in the hierarchy
CTRL +Alt +H
This Shortcut will Open call hierarchy
CTRL +Shift +U
Used to Find occurrences of the expression in the current file
CTRL +
It is Used for Open declaration or implementation
Refactoring Shortcuts:
Shortcut
Function
Alt +Shift +R
Used to Rename selected element and all references
Alt +Shift +V
This Shortcut will Move the selected element to other class or file
Alt +Shift +C
It will change the method signature with method name selected
Alt +Shift +M
Used to Extract selection to method
Alt +Shift +L
Helps to Extract local variable , that is Created and assign a variable from the selected expression
Alt +Shift +I
It will Show Inline selected local variables , methods or constants when possible and replaces variable with its declarations or assignment and puts it directly into the statements
Running and Debugging Shortcuts:
Shortcut
Function
CTRL +F11
Used to Save and launch the application
F11
Debug
F5
Step into the function
F6
Move to Next step
F7
Step out
F8
Used to Skip to the next breakpoint
Other Shortcuts:
Shortcut
Function
CTRL +F7
Used to Switch forward between panels . Useful for switching back and forth between Package Explorer and Editor
CTRL +Shift +F7
This shortcut will Switch backward between panels . Useful for switching back and forth between Package Explorer and Editor
CTRL +P
It is Used to Print
F1
It will Open Eclipse help
Shift +F10
Used to show the context menu
Team (SVN Subversive) Shortcuts:
I hope, this article helped you to learn all the shortcuts related to Eclipse . If you like this article, leave your feedback in the comment section.