Eclipse shortcut key Daquan ctrl+1 quick fix (the most classic shortcut, 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 (copy increase) ALT + ↓ the current line and the following line interact position (particularly useful, can be omitted first cut, and then pasted) alt+↑ the current line and the previous row interaction position (IBID.) alt+← the previous edited page alt+→ the next edited page (of course, for the above) Alt+enter display the current selection resource The property of the (project, or file, or file) Shift+enter inserts a blank line 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 insert a blank line in the current row (principle above) Ctrl + Q positioning to the 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 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 Stutes line shows no , 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 Turn 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 example {}) (after locating it from the front, the cursor is in the match, Back to front, then vice versa) ctrl+shift+r Find file Ctrl+shift+t Find Class The 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 the 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 reconstruction of Regret medicine (Undo)
Eclipse shortcut Keys Daquan