This page looks best with JavaScript enabled

eclipse.cheatsheet

 ·  ☕ 2 min read

#-#
#-# Keyboard shortcuts
#-#

#-# Debugging

Windows OS X Shortcut


F5 F5 Step Into
F6 F6 Step Over
F7 F7 Step Return
F8 F8 Resume
F11 F11 Debug Last Launched
Ctrl+F11 Cmd+F11 Run Last Launched
Ctrl+R Cmd+R Run to Line
Ctrl+Shift+B Cmd+Shift+B Toggle Breakpoint on Line

#-# Navigation

Windows OS X Shortcut


F3 F3 Format Source
Ctrl+Shift+G Cmd+Shift+G Find Reference
Ctrl+Shift+R Cmd+Shift+R Open Resource
Ctrl+Shift+T Cmd+Shift+T Open Type
Ctrl+H Cmd+H Open Search Dialog
Ctrl+O Cmd+O Quick Outline
Ctrl+T Cmd+T Quick Hierarchy
Ctrl+L Cmd+L Go to Line
Alt+Left Cmd+[ Back
Alt+Right Cmd+] Forward
Ctrl+Q Cmd+Q Last Edit
Ctrl+. Cmd+. Next Error
Ctrl+, Cmd+, Previous Error

#-# Coding

Windows OS X Shortcut


Ctrl+1 Cmd+1 Quick Fix
Ctrl+Space Cmd+Space Content Assist
F2 F2 Show Tooltip Description
Shift+F2 Shift+F2 Show External Javadoc
Ctrl+Shift+O Cmd+Shift+O Organize Imports
Ctrl+Shift+F Cmd+Shift+F Format Source
Ctrl+I Cmd+I Correct Indentation
Ctrl+/ Cmd+/ Toggle Comment
Ctrl+F Cmd+F Find and Replace
Ctrl+D Cmd+D Delete Line
Ctrl+Alt+Up Cmd+Option+Up Copy Lines Up
Alt+Up Option+Up Move Lines Up
Ctrl+Alt+Down Cmd+Option+Down Copy Lines Down
Alt+Down Option+Down Move Lines Down

#-# Java Refactoring

Windows OS X Shortcut


Alt+Shift+R Cmd+Option+R Rename Element
Alt+Shift+L Cmd+Option+L Extract to Local Variable
Alt+Shift+M Cmd+Option+M Extract to Method
Ctrl+Shift+Y Cmd+Option+Y Change Method Signature
Ctrl+Shift+Z Cmd+Option+Z Undo Refactoring

#-# Editor Window Shortcuts

Windows OS X Shortcut


Ctrl+E Cmd+E Open Editor Window
Ctrl+M Cmd+M Maximize Editor Window
Ctrl+W Cmd+W Close Editor Window
Ctrl+Page Up Cmd+Page Up Switch to Tab Left
Ctrl+Page Down Cmd+Page Down Switch to Tab Right
Ctrl+F8 Cmd+F8 Change Perspective
Ctrl+Shift+S Cmd+Shift+S Save All
Ctrl+Shift+W Cmd+Shift+W Close All
F5 F5 Refresh

Share on

Nicolas Guinet
Nicolas Guinet
Consultant .Net, C, C++, Python, Go. Full Stack Html/Css/Js/Node. I like to experiment new trends everyday. IA/ML player focused on scientific topics.