The eclipse shortcut today I learned a few favorites that are not commonly used.

Source: Internet
Author: User

1. CTRL + e open the list of all opened files. When you use eclipse to open more than N files, you need to find a file that you have opened before. Is it very difficult, remember this shortcut key.

2. CTRL + 2, l when you need to assign a value to the return value of a method, you need to define a local variable and declare the local variable. It is much easier to use this shortcut key.

3. Press Ctrl + m to edit youCodeTo maximize the work area, you no longer have to worry about having a variety of other messy la s in the screen, shield them all directly, maximize the work area, and be nice to your eyes.

4. CTRL + t open the layer-by-layer call relationship of a class and view the integration implementation relationship between the class and the interface.

5. Alt + Shift + R rename a declared variable. You no longer need to use Ctrl + F to rename the variable in the class.

6. CTRL + Shift + l open all the commands in eclipse and the shortcut keys that can be used

7. CTRL + ALT + H open call hierarchy the call hierarchy of the open method is displayed as a link tree, and then debug and modifyProgramCan provide a good idea


Appendix: Eclipse Shortcut Key Modification Method

Windows ---- preferrence ---- keys ----- searches for the shortcut keys you need to modify. Be sure not to conflict with other existing shortcut keys.



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.