Eclipse use of shortcut keys in
- New CTRL + N
This shortcut is simply a must-have for B,
A.java P Build Project
B.PA Build Package
C CL Build Class
So you can create projct,package,class completely without a mouse, is not very loaded B
2: Formatted CTRL+SHIFT+F
After formatting
Formatting is simply a clutter helper, note that formatting does not format two lines in the middle of a blank line.
3. Import Package Ctrl+shift+o 4. Comment ctrl+/(single line comment and cancel), ctrl+shift+/(multiline comment), ctrl+shift+\ (cancel multiline comment)
Note: Multiple lines of comments need to select the desired comment line, first pressCtrl+shiftThen press/5. Move the code up or down the selected code ALT + up/down arrows
6. Check the source code selected class name (F3 or Ctrl + mouse click )
7. Find the specific class Ctrl + SHIFT + T, enter the name of the class you are looking for -- OK
8. Find the specific method of the specific class CTRL + O9. To suggest ctrl+1, generate a method (the most common for this shortcut) by generating the left data type on the right side 10. Remove the code CTRL + D11. Extraction method ALT + SHIFT + M
A, pay attention to the need to select the complete method body otherwise will error
B , establish the method name
C , after extracting the method
12. Rename ALT + SHIFT + R (class name, method name, variable name)
Use of shortcut keys in eclipse