- Eclipse shortcut Keys, familiar with shortcut keys can help us to do more
- ctrl+1 Quick Fix
- ctrl+d: Delete When moving forward
- ctrl+alt+↓ Copy the current row to the next row (copy incremented) (required) (shortcut key 3.4.5.6.7.8 need to disable the accelerator key for the core graphics card )
- 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 line and the upper row interaction position (IBID.)
- alt+← the previous edited page
- alt+→ next Edit page (of course, for the above article)
- alt+enter Displays the properties of the currently selected resource (project, or file or file) (used to locate the file location, easy to find files, very handy when looking for a file's. java files and. class files)( Operation Guide Stamp here )
- 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 Insert blank line in current line (principle above)
- ctrl+q positioning to the last edited place
- ctrl+l positioning in a row (for people with programs over 100 have the gospel)
- ctrl+m maximize the current edit or view (and vice versa)
- ctrl+w closing the current editer
- ctrl+/ comment on the current line, and then uncomment it
- ctrl+shift+c comment on the current line, and then uncomment it
- ctrl+o Quick Display OutLine
- ctrl+t quickly displays the inheritance structure of the current class
- Ctrl+k The selected word quickly navigates to the next
- ctrl+e Quick display of the current Editer drop-down list (in bold if the current page does not appear)
- ctrl+/(numpad) collapses all code in the current class
- Ctrl+x (keypad) expands all code in the current class
- Ctrl+space Code Helper to complete the insertion of some code (but the general and IME conflict, you can modify the input method hotkey, you can also take up alt+/ to replace)
- Ctrl+shift+e Display manager that manages all of the currently open view (you can choose to close, activate, and so on)
- ctrl+j forward Incremental lookup (After you press ctrl+j, each letter editor you enter provides a quick match to locate a word, if not , it is not found in the Stutes line, check a word, especially useful, this function idea two years ago. )
- ctrl+shift+j Reverse Incremental lookup (The same as the previous one, but only from the back forward)
- CTRL+SHIFT+F4 Close all open editer
- ctrl+shift+x capitalize the currently selected text
- Ctrl+shift+y turns the currently selected text all lowercase
- Ctrl+shift+f Formatting of the current code
- ctrl+shift+p Navigate to the match (for example {}) (after locating from the front, the cursor is in the match, back to front, or vice versa)
- The following shortcut keys are commonly used in refactoring (note: The shortcut keys for general refactoring are alt+shift beginning)
- Alt+shift+r Renaming
- alt+shift+m Extraction Method (This is one of the most commonly used methods in refactoring, especially useful for a lot of mud code)( operation guide )
- 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 magical numbers and strings into a variable, especially when multiple calls are made)
- Alt+shift+f Change the local variable in class to a field variable (more useful function)
- Alt+shift+i Merge variables (this may be a bit inappropriate inline)
- Alt+shift+v Moving functions and variables (not commonly used)
- Alt+shift+z reconstruction of Regret medicine (Undo)
Eclipse Common shortcut keys