1. java smart prompt
(1). Open Eclipse and choose to open "Window - Preferences".
(2). Select "Java-Editor-Content Assist" on the directory tree, and find the "Auto Activation triggers for java" option in the "Auto-Activation" on the right. The default trigger code prompt is the "." symbol.
(3). In the "Auto Activation triggers for java" option, change "." to: .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2. XML Smart Tips
(1). Open Eclipse and choose to open "Window - Preferences".
(2). Select "XML-Editor-Content Assist" on the directory tree, and find the "Prompt when these characters are inserted" option in "Auto-Activation" on the right.
(3). In the "Prompt when these characters are inserted" option, change "<=: ," to: <=:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW(,
3. Shortcut keys
(1)Ctrl+Space
Description: Content Assistant. Provide prompts for methods, variables, parameters, javadoc, etc., which should be used in various occasions. In short, you can press this shortcut key when you need prompts. Note: Avoid the input method switching settings conflict with this setting
(2)Ctrl+Shift+Space
Description: Variable prompt
(3)Ctrl+/
Description: add/remove//comment, in eclipse2.0, remove the comment as Ctrl+\
(4)Ctrl+Shift+/
Description: add /* */ comment
(5)Ctrl+Shift+\
Description: remove /* */ comments
(6)Ctrl+Shift+F
Description: Automatically format code
(7)Ctrl+1
Description: Batch modify variable names in source code, and can also be used on catch blocks.
(8)Ctril+F6
Description: interface switching
(9)Ctril+Shift+M
Description: Find the package you need
(10)Ctril+Shift+O
Description: Automatically import the required packages
(11)Ctrl+Alt+S
Description: The source code has 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. The shortcut keys are set in windows->preferences->Workbench->Keys
4. Tracking mode
Step back to F7
Step over F6
Step into F5
Step into selection Ctrl+F5
Debug last launch of F11
Continue to F8
Step Shift+F5 with filter
Add/Remove breakpoint Ctrl+Shift+B
show Ctrl+D
Run last boot Ctrl+F11
Run to line Ctrl+R
Ctrl+U Refactoring scope function shortcuts
Undo refactoring Alt+Shift+Z
Extraction method Alt+Shift+M
Extract local variables Alt+Shift+L
Inline Alt+Shift+I
Move Alt+Shift+V
Rename Alt+Shift+R
Redo Alt+Shift+Y