1. Format code: CTRL+SHIFT+F;
2. Automatically generate Get/set method: Shifi+alt+s+r (press space is selected).
3. Auto-Generate ToString Method: Shifi+alt+s+s (press space is selected).
4. Automatic generation of construction method: Shifi+alt+s+o (Press the space is selected).
5. Content Association complete: alt+/.
6. Error locating errors, same as clicking the "red X" Effect: ctrl+1.
7. Auto-Import Package: Ctrl+shift+o.
8. Automatically generate "Hashcode" and "equals" method: Shift+alt+s+h.
9. Copy the current line: ctrl+alt+ up/Down key.
10. How to quickly get the fully qualified name of a class: Select the class to get, and right-select Copy qualified name.
11. How to quickly generate "test class" For a class: Select the class to get, and right-select the JUnit test case.
12. How to select the current line code: First Press "End" to go to the end of the line, and then press "Shift+home" to select the line code.
13. View Source code: CTRL+SHIFT+T or CTRL + click Source code.
14. New types: Shift+alt+n.
15. Select the code to the left of the current cursor: ctrl+shift+ left-click.
16. View the source code for the selected class: F3.
17. Rename: F2.
18. Rename the variable in the code: ALT+SHIFT+R.
19. "Original path return" When viewing source code: ALT + left.
20. Change lowercase to uppercase: ctrl+shift+x.
21. Change the capitalization to lowercase: ctrl+shift+y.
22. Add or revoke the current line comment: ctrl+/.
23. Run the program shortcut key: Ctrl+f11.
24. Add a segment comment to the selected code block: ctrl+shift+/.
25. Withdrawal section Comment: ctrl+shift+\.
26. Move the current code up/down: ALT + up/down key.
27. Delete the current line: Ctrl+d.
28. View the inherited structure of the selected class: Ctrl+t.
29. Find a class based on a prefix or suffix: ctrl+shift+t
Summary of the most commonly used shortcut keys in the development of Eclipse/myeclipse