How to use shortcuts in ECLIPSE code editing

Source: Internet
Author: User

 

 

Ctrl + Shift + K search for the previous one (you must first select the code to be searched)
Ctrl + K find the next one (same as above)

Ctrl + Shift + P move to matching brackets, only available in the JAVA Editor, does not seem to work in the JSP Editor

Ctrl + J incremental search (after searching, you can locate the previous or next search content by pressing locate or locate)
Ctrl + Shift + J incremental reverse lookup (same as above)

Ctrl + Shift + T Open type. I usually use this

Ctrl + Shift + R open resources

Ctrl + E: display the list of opened files

Ctrl + T quickly display the inheritance structure of the current class

Ctrl + M Max minimization View

Alt + rollback history (go to the edited page)
Alt + → forward history (same as above)

Ctrl + Q locate the Last edited location

Ctrl + Alt + ↓ copy the code, select a piece of code, and then press or.
Ctrl + Alt + ↑ (same as above)

Ctrl + D: Delete the current row. If multiple rows are selected, delete the selected row.

Alt + ↑ switch the location of the current row and the following row
Alt + ↑ the position of the current row and the previous one

Ctrl + Shift + X convert the selected code to uppercase

Ctrl + Shift + Y change the selected code to lowercase

Ctrl + HOME locate the first line
Ctrl + END locate the last line
Ctrl + L locate the specified row

Ctrl + Shift + O automatically import the selected class

Ctrl + Space Code Input prompt. do not conflict with the input key. When you enter a class on the JSP page, if this class is not introduced, press Ctrl + Space to bring up the package of the class. After you click it, the class will be automatically introduced. Even the html stuff will be prompted, try it.

Well, I usually use so many shortcut keys. Please try them now. If you think those shortcut keys are useful, you can write them in the comments. Thank you for choosing them here.

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.