table of Contents
1, java smart tips
. (1) open Eclipse, select Open "Window - Preferences".
(2) In the directory tree, select "Java-Editor-Content Assist", find "Auto Activation triggers for java" option on the right side of the "Auto-Activation". The default is the trigger code hints. "" This symbol.
. "." (3) In the "Auto Activation triggers for java" option, change: .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2, XML smart tips
. (1) open Eclipse, select Open "Window - Preferences".
(2) In the directory tree, select "XML-Editor-Content Assist", on the right side of the "Auto-Activation" find "Prompt when these characters are inserted" option.
. (3) In the "Prompt when these characters are inserted" option in the "<=:" Change: <= :. abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW (,
3, shortcuts
(1)Ctrl+Space
Description: Content assistant. Provides methods, variables, parameters, javadoc, etc. had to be prompted, should be transported in a variety of occasions, in short, may need when prompted Press this keyboard shortcut. Note: Avoid switching input is provided to this setting conflict
(2)Ctrl+Shift+Space
Description: Variable Tips
(3)Ctrl+/
Description: Add / eliminate // comments, in eclipse2.0, eliminating the comment is Ctrl + \
(4)Ctrl+Shift+/
Description: Add / * * / comments
(5)Ctrl+Shift+\
Description: Eliminate / * * / comments
(6)Ctrl+Shift+F
Description: Automatic formatting code
(7)Ctrl+1
Description: Bulk edit variable name in the source code, but can also be used in the catch block.
(8)Ctril+F6
Description: interface switching
(9)Ctril+Shift+M
Description: Find the package was needed
(10)Ctril+Shift+O
Description: Automatic package introduction is required to give
(11)Ctrl+Alt+S
Description: The source code was the shortcut menu. Which Generate getters and setters and Surround with try / catchblock more commonly recommended to add them as a shortcut. Shortcut keys in windows-> preferences-> Workbench-> Keys
4, the tracking-tone
Step Return F7
Step Over F6
Step into F5
Step into selecting Ctrl + F5
Debugging last start F11
Continue F8
Use filters stepping Shift + F5
Add / remove breakpoints Ctrl + Shift + B
Display Ctrl + D
Ctrl + F11 to start the last run
Ctrl + R line to run
Ctrl + U remodeling scope function shortcut keys
Undo reconstruction Alt + Shift + Z
Extraction Method Alt + Shift + M
Extracting local variable Alt + Shift + L
Inline Alt + Shift + I
Mobile Alt + Shift + V
Rename Alt + Shift + R
Redo Alt + Shift + Y