Use of eclipse shortcuts

Source: Internet
Author: User
1. Switch the editing point Alt + <-(left direction key), ALT +-> (right direction key)

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. You can generate a single attribute of S: CTR + 1. We recommend that you include

5. Try not to return the space or delete the CTR + some CTR + X in Row D at the row level.

6. If the method or variable name is not good, replace CTR + 2. Add R: reverocean on the 10th floor provides a better method: Rename the file and press CTRL + ALT + R.

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. You may not be able to edit multiple windows. However, when 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 want to implement or improve things in the future. You forget the following things: dracularking on the 7th floor.

18. Switch the location class to Ctrl + Shift + down/up

19. Copy the selected row CTRL + ALT + down/up ← to add the following:

20. Corresponding to 18th items or this activity outline is more useful: CTR + O 6 floor xujingbao

21. CTRL + Shift + R file search (you don't need to open the package one by one and find it). Add the following: 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. Press Ctrl + Shift + F to format the Code. In general, save action (window-> preferences-> JAVA-> Editor-> SAVE actions) is used) toflyhigh on the eighth floor 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) reverocean on the 10th floor:

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 as follows: alt + Shift + T (= right-click-> refactor-> series selection) to: http://jiajun.javaeye.com/blog/386811

-------------------

Multi-line comment Ctrl +/

Before the method name/**, press Enter. If the method has been written and implemented, it will not automatically come out.

You can add javadoc comments by pressing Alt + Shift + J before the method name.

Select the code to be commented out, CTRL + Shift +/, and press Ctrl + Shift +/to remove the comment/

-----------------------

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. You can generate a single attribute of S: CTR + 1. We recommend that you include

5. Try not to return the space or delete the CTR + some CTR + X in Row D at the row level.

6. If the method or variable name is not good, replace CTR + 2. Add R: reverocean on the 10th floor provides a better method: Rename the file and press CTRL + ALT + R.

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. You may not be able to edit multiple windows. However, when 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 want to implement or improve things in the future. You forget the following things: dracularking on the 7th floor.

18. Switch the location class to Ctrl + Shift + down/up

19. Copy the selected row CTRL + ALT + down/up ← to add the following:

20. Corresponding to 18th items or this activity outline is more useful: CTR + O 6 floor xujingbao

21. CTRL + Shift + R file search (you don't need to open the package one by one and find it). Add the following: 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. Press Ctrl + Shift + F to format the Code. In general, save action (window-> preferences-> JAVA-> Editor-> SAVE actions) is used) toflyhigh on the eighth floor 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) reverocean on the 10th floor:

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 as follows: alt + Shift + T (= right-click-> refactor-> series selection) to: http://jiajun.javaeye.com/blog/386811

-------------------

Multi-line comment Ctrl +/

Before the method name/**, press Enter. If the method has been written and implemented, it will not automatically come out.

You can add javadoc comments by pressing Alt + Shift + J before the method name.

Select the code to be commented out, CTRL + Shift +/, and press Ctrl + Shift +/to remove the comment/

-----------------------

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.