Eclipse Usage Tips 2--shortcut settings

Source: Internet
Author: User

1, set the line number:

A) Open windows-"preferences-"general-"editors- "Text Editors; check Show line numbers.

2. Create more powerful code hints:

A) Open windows-"preferences-"java->editor->content Assist,

b) Set Auto activation activation triggers for Java to a~z

3. Comments

A) Line note:ctrl+/

b) Quick note:ctrl+shift+/

4. Fast Switch Programming window

A) Ctrl+f6

5. Fast Switch case

A) Uppercase:ctrl+shift+x

b) Lowercase:ctrl+shift+y

6. Fast processing of line codes

A) Quick Delete line code:ctrl+d

b) Quickly copy the current line to the next line (multiple rows can be selected):ctrl+alt+↓

c) Quickly copy the current line to the previous line (multiple rows can be selected):ctrl+alt+↑

D) quickly extract a line to the bottom of the specified position ALT +↓

e) quickly extract a line to the top of the specified position ALT +↑

7. Mass production get,Set

A) Open source-"Generate Getters and Setters

8. Rapid generation of constructors

A) Open source-"generate constructor from superclass

9. Fast Import

A) Ctrl+shift+o

10. Add Javadoc comments quickly

A) alt+shift+j

11. Using Code Templates

A) alt+shift+z

12. Quick Operation window

A) Quick Zoom window:ctrl+m

b) Quick Close window:ctrl+w

c) Close all open editing windows:Ctrl +shift+f4

13. Renaming:F2

14, fast back to the last edit point:ctrl+q;

15. Check the code fallback: alt+←

Eclipse Usage Tips 2--shortcut settings

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.