First, the program's compilation and operation of the environment configuration (generally do not change)
Window--Preferences--Java
Compilation environment: Compiler the highest version is selected by default.
Operating environment: Installed JREs will find the JDK you installed by default. We recommend that you configure the environment variables for Java.
Problem:
Low compile, high run. OK.
High compilation, Low run. No.
It is recommended that you compile and run the same version.
Second, how to remove the default comment?
Window--Preferences--Java--code Style--code Templates
Select the content you do not want and edit it by editing it on the right.
Note: Please delete only the comments section, not the comments section.
Third, the line number display and hide
Display: In the left-most blank area of the code area, right-show line numbers.
Hide: Do the above action again.
Font size and color A:java the font size and color of the code area:
Window--Preferences--general--appearance--Colors and Fonts--java Modify--Java Edit Text Font
B: Console
Window--Preferences--general--appearance--Colors and Fonts--Debug--Console font
C: Other documents
Window--Preferences--general--appearance--Colors and Fonts--Basic--Text Font
Five, the form to mess up, how to do?
Window--Reset perspective
Six, the console can not find, how to do?
Window--show View-console
Vii. Cancellation of suspension tips
Window--Preferences--java--editor--hovers. On the right, remove the combined hover hook.
The floating box of the code does not appear automatically. If you want to see a hint, hover your cursor over the code and press F2.
Viii. use of Content-assisted keys in eclipse
a:alt+/Cue function
b:main+alt+/,syso+alt+/, give other hints
C: Add Output statement, select the part that needs output, alt+/Select the last item
C: Define your own ALT +/
Windows--perference-java-editor-templates--new
Ix. use of shortcut keys in eclipse
A: New CTRL + N
B: Formatted ctrl+shift+f
C: Import Package Ctrl+shift+o
D: Comment ctrl+/,ctrl+shift+/,ctrl+shift+\
E: Move the code up or down the selected code ALT + up/down arrows
F: Check the source code selected class name (F3 or CTRL + mouse click)
G: Find the specific class CTRL + SHIFT + T
H: Specific ways to find specific classes CTRL + O
I: Give advice to ctrl+1, generate the left data type according to the right, generate method
J: Remove Code CTRL + D
K: Extraction method ALT + SHIFT + M
L: Renaming ALT + SHIFT + R
X. How to improve development efficiency in eclipse
ALT + SHIFT + S
A: Automatic generation of construction methods
B: Automatic generation of Get/set methods
Eclipse shortcut keys and tips for using them