Eclipse shortcut key grooming: Ctrl + 1: Quick fix, if there is a red line, position the cursor at the red line, you will be prompted to resolve the methodctrl+d: Delete the current rowctrl+alt+↓ Copy the current line to the next linectrl+alt+↑ Copy the current line to the previous rowalt+↓ the current line and the following line interaction positionalt+↑ the current line and the previous row interaction positionalt+← the previous edited pagealt+→ the next edited pageAlt+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 Insert blank line in current line (principle above)ctrl+q positioning to the last edited placectrl+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+/comment on the current line, and then uncomment itctrl+o Quick Display OutLineCtrl+t quickly displays the inheritance structure of the current classctrl+w Closing the current editerCtrl+k The selected word quickly navigates to the nextCtrl+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 classctrl+x (keypad) expands all code in the current classCtrl+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 pressing CTRL+J, each letter editor you enter provides a quick match to navigate to a word,if not, then the display in Stutes line is not found, check a word, especially useful, this function idea two years ago.Ctrl+shift+j Reverse Incremental lookup (same as above, except forward)Ctrl+shift+f4 Close all open editerCtrl+shift+x All the currently selected text in a stale capitalizationCtrl+shift+y turns the currently selected text to lowercasectrl+shift+f formatting of the current codectrl+shift+p position 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, I like and commonly used to tidy up (note: General refactoring of the shortcut keys are alt+shift beginning of the)alt+shift+r or F2 rename (is my favorite one, especially 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 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) Edit:scope function shortcut keysglobal Find and replace Ctrl+fText Editor Find previous ctrl+shift+kText editor Find next Ctrl+kGlobal Undo Ctrl + ZGlobal Replication Ctrl + CGlobal Restore previous selection alt+shift+↓Global clipping ctrl+xGlobal Quick Fix ctrl1+1Global content Assist alt+/Global All Check Ctrl + ADelete Delete globallyGlobal Context information ALT +? alt+shift+?Ctrl+shift+spaceJava Editor Display tooltip description F2Java Editor Select encapsulated element alt+shift+↑The Java editor selects the previous element alt+shift+←The Java editor selects the next element alt+shift+→Text Editor incremental find Ctrl+jText Editor Incremental reverse lookup ctrl+shift+jGlobal Paste Ctrl + VGlobal Redo Ctrl+y View:scope function shortcut keysGlobal magnification ctrl+=Global Shrink ctrl+- window:scope function shortcut keysGlobal activation Editor F12Global Switch Editor ctrl+shift+wGlobal on an editor Ctrl+shift+f6globally on a view Ctrl+shift+f7Global on a Perspective view Ctrl+shift+f8Global Next editor Ctrl+f6Global Next View Ctrl+f7Global Next Perspective Ctrl+f8The text Editor displays the ruler context menu Ctrl+wGlobal Display View menu CTRL+F10Global Display System menu alt+- Navigation:scope function shortcut keysJava Editor open structure ctrl+f3Global Open Type Ctrl+shift+tGlobal Open type hierarchy F4Global Open claims F3Global Open external Javadoc shift+f2Global Open Resource Ctrl+shift+rGlobal fallback history alt+←Global forward History alt+→Global on a CTRL +,Global Next Ctrl +.The Java Editor displays outline Ctrl+oGlobal Open Type Ctrl+shift+h in the hierarchyglobal go to matching parentheses ctrl+shift+pGlobal Go to previous edit location Ctrl+qThe Java Editor goes to the previous member Ctrl+shift+↑The Java editor goes to the next member Ctrl+shift+↓text editor go to line ctrl+l Search:scope function shortcut keysglobal presence in file Ctrl+shift+uGlobal Open Search dialog box Ctrl+hclaims in the global workspace ctrl+greferences in the global workspace ctrl+shift+g text editing:scope function shortcut keystext Editor overwrite toggle InsertText Editor Roll line ctrl+↑The text editor scrolls the line ctrl+↓ File:scope function shortcut keysGlobal Save Ctrl+xCtrl+sGlobal Print Ctrl+pGlobal shutdown Ctrl+f4Global Save All Ctrl+shift+sGlobal all off Ctrl+shift+f4Global Properties Alt+enterGlobal New CTRL + N Project:scope function shortcut keysGlobal All Build ctrl+b Source code:scope function shortcut keysJava Editor Formatting ctrl+shift+fJava Editor Uncomment ctrl+\Java Editor Comment ctrl+/Java Editor Add import ctrl+shift+mJava Editor Organization import Ctrl+shift+oThe 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 function shortcut keysGlobal single-Step return F7Global Single-step skip F6Global single-step jump into F5Global Single-step jump selection Ctrl+f5Global Debug Last started F11Global Continue F8Global Use filters to step Shift+f5Global Add/Remove breakpoints Ctrl+shift+bGlobal Display Ctrl+dglobal Run last boot ctrl+f11Global Run to row ctrl+rGlobal Execution Ctrl+u Refactoring :scope function shortcut keysGlobal undo Refactoring Alt+shift+zGlobal Extraction Method Alt+shift+mGlobal decimation local variable alt+shift+lGlobal inline Alt+shift+iGlobal Mobile Alt+shift+vGlobal Rename Alt+shift+rGlobal Redo Alt+shift+y
Eclipse shortcut keys