Eclipse usage and tips 12: quickly copy a row

Source: Internet
Author: User

WriteCodeThere is always a need for Ctrl + C, CTRL + V. In eclipse, if you need to quickly copy a line of code up and down, there are convenient shortcut keys available. Place the cursor in a row, and press CTRL + ALT + down to quickly copy a row. Press CTRL + ALT + up to quickly copy a row.
Note: For intel monitors, the shortcut key for display direction is CTRL + ALT + direction key, and the response priority is relatively high. In this case, you need to find the display setting and close the shortcut key response. You can also modify the shortcut keys of Eclipse. The procedure is as follows:
Step 1: window-> preference-> General-> key:


Step 2: Search Ctrl, modify the shortcut key, stop the cursor in the edit box, and press the shortcut key you want directly:

 

PreviousArticle, Eclipse usage and Tips 11: The column displays:

Http://blog.csdn.net/ts1122/article/details/8953313

In the next article, eclipse usage and skills 13: automatically generated todo annotations 1:

Http://blog.csdn.net/ts1122/article/details/9009217

 

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.