Common shortcut keys for Eclipse

Source: Internet
Author: User

CTRL + SHIFT + O optimize import if the import class is not used in the class will be optimized. For example:

          

Optimization Completed:

      

CTRL + SHIFT + F formatting code. If the code in the class is ragged, it is used in the format. For example:

      

      

After use:

        

CTRL + SHIFT + T looks for classes that are easy to find when the number of classes is larger. For example:

CTRL + H Global lookup is to find keywords in all packages. For example:

Find the update and find the result:

            

CTRL + F file internal lookup.

          

Finding the update will mark the results of the lookup. Such as:

          

Win + D comments back to desktop

Win + R Run window

CTRL + SHIFT + R to find the file. Find all files that contain keywords.

The property method of the CTRL + O class is found. List the properties of the current class.

              

CTRL + T finds the implementation or inheritance class.

      

CTRL + E recently opened file. Displays all files that were recently opened.

      

CTRL + Y anti-undo. When you undo a code that you don't want to undo, you can go back to where you dropped it in the previous step.

Before revocation:

      

After undo: (Altogether revoked two times)

      

Anti-revocation: (Reversed once)

       

ESC can cancel the form.

Alt +← Fallback History

Alt +→ Forward History

Ctrl + 1 Error code hint.

          

CTRL + L jumps to the specified line.

          

Common shortcut keys for Eclipse

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.