Shortcut keys used in eclipse
Read the Code
Ctrl + SHIFT + R Search by file nameCtrl + SHIFT + T lookup based on type nameCtrl + O view the outline of a classCtrl + SHIFT + U View the implementation method of the base class or interfaceCtrl + SHIFT + G to see where the method or property is calledCTRL + SHIFT + UP (down) toggle MethodAlt + left back to previous edit areaCtrl + K to find the nextctrl+h Open the Search dialog boxCtrl+t quickly displays the inheritance structure of the current class
Writing codeCtrl + SHIFT + Enter adds a blank line to the line on the cursor and moves the cursor to the beginning of the rowSHIFT + Enter adds a blank line to the next line of the cursor, and moves the cursor to the beginning of the
ALT + SHIFT + UP ARROW to select the cell where the cursor is locatedALT + SHIFT + J Add comment to method or classImport imports of Ctrl+shift+o organization classesCtrl+m maximize the current edit or view (and vice versa)
ctrl+shift+← Select the word to the left of the cursorctrl+shift+→ Select the word with the cursor and the edgectrl+← cursor moves to the beginning of the word on the leftctrl+→ cursor moves to the end of the right wordCtrl+w Close the current editer (Windows closes the Open dialog box is also this, as well as QQ, will, browser, etc. are)ctrl+l text editor go to line
RefactoringAlt+shift+r Renaming a method name, property, or variable nameALT + SHIFT + L refactor anonymous variables into famous variablesALT + SHIFT + M Refactor the selected code snippet to a method
DebugF11 entering the debug stateF5 One-step jump inF6 Single-step skipF7 Single Step backF8 Continuectrl+shift+d Display the value of a variablectrl+shift+b setting or removing breakpoints in the current lineCtrl+r Run To line (super easy to use, can save a lot of breakpoints)
Eclipse shortcut keys