1. Smart Tips
(1). Open Eclipse and select "Window-preferences" to open.
(2). Select "Java-editor-content Assist" on the Directory tree and "Auto-activation" on the right to find the "Auto Activation triggers for Java" option. The default triggering code hint is "." This symbol.
(3). In the "Auto Activation triggers for Java" option, set the "." Change:. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
2. Shortcut keys
(1) Ctrl+space
Description: Content Assistant. Provide tips on methods, variables, parameters, Javadoc, etc., should be shipped in a variety of occasions, in short, you need to prompt the time you can press this shortcut. Note: Avoid the switch settings in the Input method conflict with this setting
(2) Ctrl+shift+space
Description: Variable hints
(3) ctrl+/
Description: Add/Remove//comment, in eclipse2.0, remove comment as ctrl+\
(4) ctrl+shift+/
Description: Add/* */Comment
(5) Ctrl+shift+\
Description: Remove/* */Comment
(6) Ctrl+shift+f
Description: Automatic Formatting code
(7) Ctrl+1
Description: Bulk modification of variable names in source code, also available on catch blocks.
(8) Ctril+f6
Description: Interface switch
(9) Ctril+shift+m
Description: Find the package you need
(10) Ctril+shift+o
Description: Automatically introduces the required packages
(11) Ctrl+alt+s
Description: Source code to get a shortcut menu. Among them, generate getters and setters and Surround with Try/catchblock are more commonly used. It is recommended to add them as shortcut keys. Shortcut keys set in windows->preferences-> Workbench->keys
3. Tracking mode
Single Step Back F7
Single-Step Skip F6
Single-step jump into F5
Single-Step jump selection Ctrl+f5
Debug Last Boot F11
Keep F8.
Stepping Shift+f5 with filters
Add/Remove Breakpoints Ctrl+shift+b
Show Ctrl+d
Run the last boot ctrl+f11
Run To line Ctrl+r
Ctrl+u refactoring scope function shortcut keys
Undo Refactoring Alt+shift+z
Extraction Method Alt+shift+m
Extracting Local variables Alt+shift+l
Inline Alt+shift+i
Mobile Alt+shift+v
Renaming Alt+shift+r
Redo Alt+shift+y