Eclipse shortcut key Daquan (reprint) ctrl+1 Quick fix (the most classic shortcuts, you don't have to say) Ctrl+d: Delete the current row ctrl+alt+↓ copy the current row to the next row (copy increase) ctrl+alt+↑ Copy the current row 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 current selection resource ( The property of a project, or file, or file Shift+enter inserts a blank line in 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 insert a blank line in the current row (principle above) ctrl+q Position to last edited Place ctrl+l positioned in a row (for people with programs over 100 have the Gospel) Ctrl+m maximize the current edit or view (and then vice versa) ctrl+/comment on the current line, and then uncomment ctrl+o quick Display outlinectrl+t Quickly display the inheritance structure of the current class Ctrl+w close the current Editerctrl+k reference selected word quickly navigates to the next ctrl+e quickly displays the current Editer drop-down list (if the current page does not appear in bold) ctrl+/(keypad) 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 methods have conflict, you can modify the input method hotkey, you can also take up alt+/to replace) ctrl+shift+e Displays the manager that manages all the view currently open (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, and if not, the display in Stutes line is not found, Look for a word, especially useful, this function idea two years ago) Ctrl+shift+j Reverse incremental lookup (the same as the previous bar, but from the back) Ctrl+shift+f4 close all open editerctrl+shift+x Turns the currently selected text all stale lowercase ctrl+shift+y all the currently selected text to lowercase ctrl+shift+f formatting the current code ctrl+shift+p to the match for (for example {}) (after locating from the front, the cursor is in the match, Back to front, then vice versaThe following shortcut keys are commonly used in refactoring, I like and commonly used to tidy up (note: The General refactoring of the shortcut keys are the beginning of the Alt+shift) alt+shift+r rename (is my own favorite use of one, especially variables and classes of rename, Save a lot of labor than a manual method) the Alt+shift+m extraction method (which is one of the most commonly used methods in 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 the local variable in class into a field variable (more useful function) alt+shift+i merge variable ( Maybe that's a little inappropriate. inline) alt+shift+v move functions and variables (not commonly used) Alt+shift+z refactoring of Regret Medicine (Undo) Edit scope function shortcut global find and replace ctrl+f text editor Find previous Ctrl+shift+k This editor finds the next ctrl+k global undo Ctrl + Z global replication Ctrl + C Global Restore previous selection alt+shift+↓ global clipping ctrl+x Global quick fix ctrl1+1 Global content assist alt+/global all check 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 Narrowing ctrl+-window scope function shortcut keys Global activation Editor F12 Global Toggle Editor Ctrl+shift+w Global on one editor Ctrl+shift+f6 global View Ctrl+shift+f7 Global previous perspective Ctrl+shift+f8 global Next editor Ctrl+f 6 Global Next View CTRL+F7 global nextPerspective Ctrl+f8 Text Editor display ruler context menu Ctrl+w Global View menu CTRL+F10 Global Display system menu alt+-navigation scope feature Shortcut Java Editor Open structure ctrl+f3 global open type Ctrl+shif T+t Global Open type hierarchy F4 global open Declaration F3 Global Open External Javadoc shift+f2 Global Open Resource Ctrl+shift+r Global back History alt+← Global forward History alt+→ global on a CTRL +, full Bureau 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 to previous member Ctrl+shift+↑ja VA editor go to next member ctrl+shift+↓ text editor go to line ctrl+l Search scope feature shortcut global appear in file ctrl+shift+u Global Open Search dialog ctrl+h Global Workspace Declaration ctrl+g Global work References in ctrl+shift+g text editing scopes feature shortcut text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ text Editor scroll line ctrl+↓ file scope function shortcut Global save Ctrl+x ctrl+s full Office print ctrl+p Global off CTRL+F4 Global all save Ctrl+shift+s Global off CTRL+SHIFT+F4 Global Properties Alt+enter Global New CTRL + N project scope feature shortcut key global all build Ct Rl+b Source code scope function shortcut key Java Editor format ctrl+shift+f Java editor Uncomment ctrl+\ Java editor Comment ctrl+/Java Editor add import ctrl+shift+m Java Editor Organization import The Ctrl+shift+o Java Editor uses try/catch blocks to surround the settings, which are too common, so it is recommended to set them up here. You can also use ctrl+1 to automatically fix it. Run scope feature shortcut Global Single Step back F7 global single-Step F6 global single-stepping F5 global single-hop winsSelect Ctrl+f5 Global Debug last started F11 global continue F8 Global use filter Stepping SHIFT+F5 Global Add/Remove Breakpoints Ctrl+shift+b Global display Ctrl+d global run last start CTRL+F11 global run to row Ctr L+r Global Execution Ctrl+u Refactoring scope function shortcut Global undo Refactoring Alt+shift+z Global Extraction Method alt+shift+m global decimation local variable alt+shift+l global inline alt+shift+i global Move Alt+s HIFT+V Global Rename Alt+shift+r global redo Alt+shift+y
The Eclipse Accelerator for the first season of Java entry