Eclipse practical shortcuts Daquan

Ctrl + 1 Quick Fix (the most classic shortcut keys, needless to say)
Ctrl + D: Deletes the current line     
Ctrl + Alt + ↓ Copy the current line to the next line (Copy increase)
Ctrl + Alt + ↑ Copy the current line to the previous line (Copy increase)
Alt + ↓ position of the current line and the following line of interaction (particularly useful, can be omitted to cut, and then pasted)
Alt + ↑ the current line and the top line interaction position (ibid.)
Alt + ← a former editor of the page
Alt + → next edit page (of course, for the one above it)
Alt + Enter to display the currently selected resource (engineering, or file or files) properties
Shift + Enter current row into the next line blank line (in this case a mouse can be any position of the current row, not necessarily last)
Shift + Ctrl + Enter insert a blank line in the current line (principle above article)
Ctrl + Q Last edited to locate the place
Ctrl + L positioned in a row (for more than 100 persons have program gospel)
Ctrl + M to maximize the current Edit or View (press and vice versa)
Ctrl + / comments on the current line, press the Cancel comment
Ctrl + O to quickly display OutLine
Ctrl + T to quickly display the current class inheritance structure
Ctrl + W closes the current Editer
Ctrl + K Referring to quickly locate selected next Word
Ctrl + E to quickly display the drop-down list of current Editer (if the current page does not display shown in bold)
Ctrl + / (keypad) all the current class code folding
Ctrl + × (keypad) Expand All codes in the current class
Ctrl + Space Code Assistant to complete some code inserted (but generally there is a conflict and input method, hot-key input method may be modified, also Alt + / can be replaced by temporary)
Ctrl + Shift + E Display Manager View all currently open manager (option to turn off, to activate other operations)
After the increment look forward Ctrl + J (Press Ctrl + J, you enter each letter editor provides fast matching to locate a word, if not, then at stutes line display is not found, a check when word, especially practical, this function will have two years ago Idea)
Ctrl + Shift + J reverse incremental find (and on the same strip, just forward from the back check)
Ctrl + Shift + F4 to close all open Editer
Ctrl + Shift + X to taste all of the currently selected text lowercase
Ctrl + Shift + Y to the currently selected text all lowercase
Ctrl + Shift + F to format the current code
Ctrl + Shift + P matcher for targeting of (for example, {}) (when positioned behind the front from the cursor to the character matching inside, front to back, and vice versa)
The following shortcuts are common remodeling inside, I would like to own and commonly tidy (Note: Shortcuts are usually reconstructed Alt + Shift beginning of the)
Alt + Shift + R to rename (my own favorite with a, especially variables and class Rename, than the manual method can save a lot of labor force)
Alt + Shift + M extraction method (which is one of the most commonly used inside reconstruction method, especially useful for a lot of clay in the code)
Alt + Shift + C modified structural function (more practical, with N function calls this method once get modified)
Alt + Shift + L extracting local variables (direct some magic number and character string extracting into a variable, especially when multiple calls)
Alt + Shift + F Class of the field variable become local variables (more useful features)
Alt + Shift + I merge variables (probably say something wrong Inline)
Alt + Shift + V moves functions and variables (less commonly)
Alt + Shift + Z reconstruction of regret (Undo)
Ctrl + Shift + U to select the selected text is very similar to the list of queries UE

Reproduced in: https: //my.oschina.net/u/585111/blog/219466

Guess you like

Origin blog.csdn.net/weixin_33929309/article/details/92008298