The most common eclipse shortcut used so far-[Welcome to add]

Source: Internet
Author: User

The eclipse shortcut is very convenient. So far, let's make a summary and list the ones you use. They are all the most commonly used ones. You are welcome to add them. [do not use them if they are not commonly used !]

 

[Ctrl + D] -------------------------- [current row] ----------------------> Delete the current row;

[CTRL + ALT + ↑ ↓] -------------------- [current row] ----------------------> copy the current row to the previous/next row;

[Alt + ↑ ↓] --------------------------- [current row] --------------------> swap this row with the previous/next row;

[Ctrl + F] -------------------------- [current file type] ---------------------> search;

[Ctrl + E] -------------------------- [all open tags currently] -------------> quickly switch tags;

[Ctrl + O] -------------------------- [current class file] ------------------> quickly open the overview, display the attribute and method list, and help locate the problem;

[Ctrl + Shift + G] ------------------- [Current Method] ----------------------> display the call of this method;

[Alt + ↑ →] ---------------------- [all] -----> open the positioning before/after when I am here [Click here for the previous step/next step];

[Alt + Shift + O] ------------------ [all] -----> enable entry association, that is, full-text association of variables at the current cursor; [shadow display]

[Alt + Shift + J] --------------------- [current class/method/attribute] Quickly generates a document comment, which can be configured;

[Ctrl + Shift + * Keypad] ----------- [current class file] expands all methods;

[Ctrl + Shift +/Keypad] ----------- [current class file] Fold all methods;

[Ctrl + F11] ------------------------ [current class file] = run as application, run directly;

[F11] ------------------------------ [current class file] = debug as application, run the current file in debug mode;

[Ctrl + W] -------------------------- [current class file] Close the class tag currently opened;

[Ctrl + N] -------------------------- [current project] create a file quickly.

By following this conclusion, I found that I still use a lot of resources.

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.