Eclipse IDE Keybindings · 2018-02-26 · Eclipse IDE Keybindings General Ctrl+3 +3 Go to quick...

1
Eclipse IDE Keybindings General Ctrl+3 +3 Go to quick access search for available views, actions, wizards, menus and more Alt++Q Q ++Q Q Show all available views and select one or more to open Ctrl+F +F Find/replace in the current file Ctrl+H +H Find/replace in current file, project, or workspace Navigate and understand your code F2 F2 Show Javadoc for the selected element F3 or Ctrl+Left click F3 or +Left click In a code editor, go to the declaration of the selected symbol F4 F4 Show selected symbol in the “Type Hierarchy” view Search your code Ctrl++R ++R Open dialog to search resources (e.g. text files) by filename Ctrl++T ++T Open dialog to search for a type (class, interface, enum) Ctrl+Alt+H ++H Open selected callable symbol in the “Call Hierarchy” view Ctrl++G ++G Search workspace for all references to the symbol Ctrl+L +L Go to a line number Ctrl+. +. Jump to next occurrence, warning or error Ctrl+, ++. Jump to previous occurrence, warning or error Select your code Alt+Shift+++⇟⇞ Expand selection to containing code block Alt+Shift+++Reduce previously expanded selection by one step Alt+Shift+++Expand selection to next statement Alt+Shift+++Expand selection to previous statement Edit your code Ctrl+D +D Delete line at cursor position Alt+or Alt++or +Move current line one line above or one line below Ctrl++ / Ctrl+- ++ /+- Zoom in/out in text editor Ctrl+Space +Space Open content assist dialog (based on current context) Alt++A ++A Toggle block / column selection in the current text editor Alt++R ++R Rename (variable, field, method, class...) Alt++S ++S Show advanced editing operations for current selection Alt++T ++T Show available refactoring operations for current selection Ctrl+1 +1 Show all possible fixes for a problem (on a text element with a problem marker, or in the problem view) Ctrl++C +/ Toggle comment on selected lines Ctrl++/ ++/ Add block comment Ctrl++\ ++\ Remove block comment Build, Run and Debug your code Ctrl+B +B Build all workspace projects Ctrl+F11 ++F11 Run last application launched F11 +F11 Debug last application launched F5 F5 Step into (in debug mode) F6 F6 Step over i.e., go to next line (in debug mode) F7 F7 Step return i.e., go back to caller (in debug mode) F8 F8 Resume i.e., continue execution until next breakpoint (in debug mode) Ctrl++I ++I Inspect, i.e., show selected expression value (in debug mode)

Transcript of Eclipse IDE Keybindings · 2018-02-26 · Eclipse IDE Keybindings General Ctrl+3 +3 Go to quick...

Eclipse IDE KeybindingsGeneralCtrl+3 �+3 Go to quick access search for available views, actions, wizards, menus and moreAlt+�+Q Q �+�+Q Q Show all available views and select one or more to openCtrl+F �+F Find/replace in the current fi leCtrl+H �+H Find/replace in current fi le, project, or workspace

Navigate and understand your codeF2 F2 Show Javadoc for the selected elementF3 or Ctrl+Left click F3 or �+Left click In a code editor, go to the declaration of the selected symbolF4 F4 Show selected symbol in the “Type Hierarchy” view

Search your codeCtrl+�+R �+�+R Open dialog to search resources (e.g. text fi les) by fi lenameCtrl+�+T �+�+T Open dialog to search for a type (class, interface, enum)Ctrl+Alt+H �+�+H Open selected callable symbol in the “Call Hierarchy” viewCtrl+�+G �+�+G Search workspace for all references to the symbolCtrl+L �+L Go to a line numberCtrl+. �+. Jump to next occurrence, warning or errorCtrl+, �+�+. Jump to previous occurrence, warning or error

Select your codeAlt+Shift+↑ �+�+⇟⇞ Expand selection to containing code blockAlt+Shift+↓ �+�+⇞ Reduce previously expanded selection by one stepAlt+Shift+→ �+�+→ Expand selection to next statementAlt+Shift+← �+�+← Expand selection to previous statement

Edit your codeCtrl+D �+D Delete line at cursor positionAlt+↑ or Alt+↓ �+↑ or �+↓ Move current line one line above or one line belowCtrl++ / Ctrl+- �++ /�+- Zoom in/out in text editorCtrl+Space �+Space Open content assist dialog (based on current context)Alt+�+A �+�+A Toggle block / column selection in the current text editorAlt+�+R �+�+R Rename (variable, fi eld, method, class...)Alt+�+S �+�+S Show advanced editing operations for current selectionAlt+�+T �+�+T Show available refactoring operations for current selectionCtrl+1 �+1 Show all possible fi xes for a problem (on a text element with a problem marker, or in the problem view)Ctrl+�+C �+/ Toggle comment on selected linesCtrl+�+/ �+�+/ Add block commentCtrl+�+\ �+�+\ Remove block comment

Build, Run and Debug your codeCtrl+B �+B Build all workspace projectsCtrl+F11 �+�+F11 Run last application launchedF11 �+F11 Debug last application launchedF5 F5 Step into (in debug mode)F6 F6 Step over i.e., go to next line (in debug mode)F7 F7 Step return i.e., go back to caller (in debug mode)F8 F8 Resume i.e., continue execution until next breakpoint (in debug mode)Ctrl+�+I �+�+I Inspect, i.e., show selected expression value (in debug mode)