Eclipse shortcut Keys DaquanCtrl + 2; L automatically generate variablesCtrl + 1 Local variables are extracted as global variables ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)
ctrl+/comment on the current line, and then uncomment itALT + SHIFT + L Create definition classctrl+shift+t Global Search classctrl+2, 0.5 seconds, L automatically declare variables,Ctrl + K, looking downCtrl + SHIFT + K, looking upALT + <-skip to previous pageAlt + → Skip to next pagectrl+shift+f formatting of the current codeCtrl+d: Delete When moving forwardctrl+alt+↓ Copy the current row to the next row (replication incremented)Ctrl+alt+↑ Copy the current line to the previous row (replication incremented)alt+↓ the current line and the next line of interaction (especially useful, can be omitted first cut, then pasted)Alt+↑ the current row and the previous row interaction position (IBID.) alt+← the previous edited page alt+→ the next edited page (of course for the above) Alt+enter displays the properties of the currently selected resource (project, or file or file) Shift+enter Inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last) Shift+ctrl+enter inserts a blank line in the current row (principle above) ctrl+q navigates to the last edited place ctrl+l positioned in a row ( The Gospel is for people with programs over 100 ctrl+m maximize the current edit or view (and then vice versa) Ctrl+o Quick Display OutLineCtrl+t quickly displays the inheritance structure of the current classCtrl+w Close the current editerctrl+k reference the selected word quickly navigates to the next ctrl+e to quickly display the current Editer drop-down list (if the current page does not appear in bold) ctrl+/(Numpad) collapses all code in the current class ctrl+x ( keypad) expands all the code in the current class Ctrl+space code helper to complete some code insertion (but general and input method conflict, you can modify the input method hotkey, you can also take up alt+/to replace) ctrl+shift+e display manages all the currently open view of the manager ( You can choose to close, activate, and so on) Ctrl+j forward incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to navigate to a word, if not, the display in Stutes line is not found, check a word, especially useful, This function idea was there two years ago. Ctrl+shift+j Reverse incremental lookup (same as the previous bar, just from backward) Ctrl+shift+f4 close all open editerCtrl+shift+x The text that is currently selected is all stale lowercaseCtrl+shift+y turns the currently selected text to lowercaseCtrl+shift+o Disposable Guide Pack. Ctrl+shift+p positioning to the match (for example {}) (from the front to the back, the cursor in the match, back to the front, or vice versa) the following shortcut keys are commonly used in refactoring, I like and commonly used to tidy up (note: General refactoring shortcut keys are ALT + Shift-Start)alt+shift+r Rename (is my own favorite, especially the variables and classes of rename, than the manual method can save a lot of labor)Alt+shift+m Extraction Method (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modified once done) Alt+shift+l extract local variables (you can directly extract some magic numbers and strings into a variable, especially when multiple calls) Alt+shift+f Change the local variable in class to a field variable (more useful) Alt+shift+i merge variables (which might be a bit inappropriate inline) alt+shift+v move functions and variables (less commonly used) alt+shift+z to reconstruct regret pills ( Undo) Edit scope feature shortcut global find and replace ctrl+f text editor Find previous ctrl+shift+k text editor find next ctrl+k global Undo Ctrl + Z global Restore previous selection alt+shift+↓ Global clipping ctrl+x Global quick fix ctrl1+1 Global content assist alt+/global All selected CTRL + A global DELETE delete global context information ALT +? Alt+shift+? Ctrl+shift+space Java Editor Display tooltip description F2 Java Editor Select encapsulate element Alt+shift+↑java Editor Select previous element Alt+shift+←java Editor Select next element alt+shift+→ text Editor Incremental Lookup ctrl+j Text Editor Incremental reverse lookup ctrl+shift+j Global Paste Ctrl + V global Redo ctrl+y View scope function shortcut Global zoom ctrl+= Global shrink ctrl+-&nb sp; Window scope function shortcut Global Activation Editor F12 Global Toggle Editor ctrl+shift+w Global One editor CTRL+SHIFT+F6 global View Ctrl+shift+f7 Global previous perspective Ctrl+shi Ft+f8 Global Next Editor Ctrl+f6 Global next View Ctrl+f7 Global Next Perspective ctrl+f8 Text Editor display ruler context menu Ctrl+w Global Display View menu CTRL+F10 Global Display system menu alt+-  ; Navigation scope Function Shortcut Java Editor Open structure ctrl+f3 global open type ctrl+shift+t global open type hierarchy F4 global open Declaration F3 Global Open External Javadoc shift+f2 Global Open Resource Ct Rl+shift+r Global fallback History alt+← global forward history alt+→ globally on a CTRL +, global next Ctrl +. The Java Editor displays outline Ctrl+o Global in the hierarchy open type Ctrl+shift+h global go to matching parentheses ctrl+shift+p global go to previous edit location Ctrl+q Java editor go toPrevious member Ctrl+shift+↑java editor go to next member ctrl+shift+↓ text editor go to line ctrl+l search scope feature shortcut key global appear in file ctrl+shift+u Global Open Search dialog Box Ctrl+h declaration in Global Workspace ctrl+g Global Workspace Reference ctrl+shift+g Text editing scope feature shortcut text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ Text Editor Roll line ctrl+↓ file scope function shortcut key global save ctrl+x ctrl+s Global print ctrl+p global shutdown CTRL+F4 Global Save All Ctrl+shift+s global all close Ctrl+shift+f4 Global Properties Alt+enter Global New CTRL + N project scope feature shortcut key global build ctrl+b Source code scope function Shortcut Java Editor formatting ctrl+shift+f J Ava Editor Uncomment ctrl+\ Java editor Comment ctrl+/Java Editor add import ctrl+shift+m Java Editor Organization import ctrl+shift+o Java Editor use Try/catch block to surround not set, too common, So listed here, it is recommended to set yourself. You can also use ctrl+1 to automatically fix it. Run scope function shortcut Global step back F7 Global single-step skip F6 Global single-Step jump F5 Global single-step-in selection Ctrl+f5 global debug last started F11 global continue F8 Global use filter step SHIFT+F5 full Add/Remove Breakpoints Ctrl+shift+b Global display Ctrl+d global run last start CTRL+F11 global run to row ctrl+r Global execution Ctrl+u refactoring scope feature shortcut global undo refactoring Alt+sh Ift+z Global Extraction Method Alt+shift+m Global Pull local variable alt+shift+l global inline alt+shift+i Global move alt+shift+v Global rename Alt+shift+r global redo Alt+shift+y
From for notes (Wiz)
Eclipse shortcut keys