Maybe you are basically using Eclipse every day, it is your weapon, but can the sword be used in your hands? Are you a sword lover ?, Maybe you are a master, make it shine more dazzling, maybe you humiliate it.
The following table lists some things that are used every day (in no particular order). It must be incomplete or not detailed. Please add this article. For Beginners, please try it out.
Good habits of Eclipse to improve work efficiency:
1. Switch the editing point Alt + <-, Alt +->
2. view the Ctr + e File
3. Make full use of the template mainly defined by yourself
4. Custom shortcut keys to generate Getter and Setter
My: Ctr + Shift + S, S
You can:
One of the Ctr + 1 Suggestions
5. Try not to return the lattice or Delete the key during deletion.
Row-level Ctr + d
Ctr + x
6. Replace Ctr + 2, r
Supplement: a better method is provided: Use ctrl + alt + R to rename the file.
7. Search for the next one: Ctr + k. Reverse query: Ctr + Shift + k.
8. Run Ctr + F11
9. case-insensitive conversion: Ctr + Shift + X Ctr + Shift + Y
10. Maximum normal window switch: Ctr + M
11. Sometimes, Alt + Shift + X and Q run quite well, especially when building
12. Multi-Window editing may be difficult for you, but after you are familiar with it, you will find it very efficient:
Window-> New Window
13. Implement the class annotation of the interface: @ Override. It is quite easy to use Ctr + 1.
14. I forgot the class name. Do you remember?
Ctr + Shift + T remember to use *? Oh
15. debugging is not required. F5 F6 F8 F7
16. There are several tags in the console. Don't waste resources. I use three Problems Tasks consystemic.
17. Make full use of the TODO and Tasks views. You may forget the things you want to implement or improve in the future.
The following is a collection of downstairs siblings:
18. Switch the location class to Ctrl + Shift + Down/Up
19. Copy the selected row Ctrl + Alt + Down/Up
Refresh:
20. Corresponding to 18th items or this activity outline is more useful: ctr + o
21. ctrl + shift + r file search (you do not need to open the package one by one and find it)
Add:
Let's take a look at the 14th ctrl + shift + t
22. alt + shift + q p when the editing window is the largest, you can quickly open Package Explorer
23. alt + shift + q c when the maximum editing window is reached, you can quickly open the Console
24. Run ctrl + B to build (Automatic build is generally canceled) and ctrl + l to locate the row number.
25. ctrl + shift + f code formatting
Add:
Generally, save action (Window-> Preferences-> Java-> Editor-> Save actions) is more convenient.
26. ctrl + t (ctrl + t) view the inheritance structure of the class or Method
27. Press ctrl + shift + u to check where the variable is referenced.
28. Press ctrl + shift + g (alt + shift + h) to check where the method is called.
29. alt + shift + c reconstruction class or method signature (effective during interface Reconstruction)
30. I will not talk about the refactoring shortcut keys. It is really a word to adjust the code structure by taking advantage of the refactoring function: Great!
Therefore, it is an excellent way to improve efficiency. Here I am very appreciative of it because I am still dealing with the initial level of refactoring. I can often try to improve it like this:
Press: Alt + Shift + T (= right-click-> Refactor-> select Series)
31. ctrl + shift + h search for classes in the jar package
32. ctrl + shift + r search for classes in java
Author: ERDP Technical Architecture"