Eclipse Study Notes

Source: Internet
Author: User

1. Compile in eclipseCodeHow to automatically prompt the variable name?
Http://constforce.blog.163.com/blog/static/16388123520111223142587/

2. How to rearrange the code format?
Select the code to be rearranged, and press Ctrl + Shift + F to rearrange the code. (If no code is selected, the entire file will be rearranged .)
In addition, you can right-click the source sub-menu to list all the functions of refactoring code.

3. How to automatically add comments?
Press Alt + Shift + J. You can also find it in the right-click menu source.
See: http://constforce.blog.163.com/blog/static/16388123520111223564158/

4. How do I select a whole line of code?
Click the mouse three times in a row (in the code area.

5. Shortcut Keys for deleting one or more lines of code
Press Ctrl + D to delete the row where the cursor is located or the selected multi-row text.

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.