Thursday, July 14, 2016

Eclipse shortcuts

Frequently used eclipse shortcuts

OperationShortcut Purpose
Open ResourceCtrl+Shift+R Open Resource (file, folder or project)
Ctrl + Shift + TOpen Resource (file, class file)
Ctrl + TOpen implementation
SaveCtrl+S Save current file
Ctrl+Shift+S Save all files
CloseCtrl+W Close current file
Ctrl+Shift+W Close all files
Navigate through fileCtrl + Home Jump to beginning of file
Ctrl +L Jump to Line Number.
Ctrl + End Jump to end of file
Ctrl+K/Ctrl+Shift+K Find previous / find next occurrence of search term
FormatterCtrl+Shift+F Autoformat all code in Editor using code formatter
Java docAlt+Shift+J Add Element Comment
AssistanceCtrl+Space Opens Content Assist (e.g. show available methods or field names)
Ctrl+1 Open Quick Fix and Quick Assist
Search Ctrl+Alt+H Open Call Hierarchy
Ctrl + H Search
RefactoringAlt+Shift+R Rename selected element and all references
Alt+Shift+M Extract selection to method 

No comments:

Post a Comment

Like and Share