Eclipse Quick complement line end semicolon

Source: Internet
Author: User

Eclipse Quick complement line end semicolon

Eclipse shortcut jumps to the end of line completion semicolon

Eclipse quickly ends the current statement (with a semicolon at the end of the line, which is the end of the current statement)

Intellij idea is a function that has a quick complement of semicolons (shortcut key: Complete current Statement)

Used to this function, found in Eclipse No, feel very unaccustomed

Online search for a long time, finally found a solution: Install plug-ins (very simple)

Source: https://github.com/henri5/completeline/blob/master/README.md

Here are my actual installation steps:

1th Step

Click on the Eclipse menu bar Help and choose install New software, such as:

2nd Step

Paste the address below

https://github.com/henri5/completeline-updatesite/raw/master/

Tick completeline, such as:

3rd Step

After the installation is complete, restart Eclipse to view (set) shortcut keys (I'm used to using Ctrl+enter)

4th step

Just write the line code, the cursor moves to any position in the current line, press Ctrl+enter (the shortcut key I set above), the end of the line has a semicolon, and automatically help you format the good.

This is the legendary "Quick complement line end semicolon"

Eclipse Quick complement line end semicolon

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.