Remove the space at the end of the line (tail) in eclipse. (The "anyedit" plug-in is required)

Source: Internet
Author: User

[Preface]

In eclipse, you can set spaces at the end of the line to be removed.

For example

Int COUNT = 100; press ENTER

When you have this setting, clicking save code will automatically become the following effect:

Int COUNT = 100; press ENTER

==================================

[Benefits]

This setting is correct when we create a new file.

It also helps our code style.

[Disadvantages]

This setting is not allowed when we modify the existing file !!

Because we need to see the difference between this modification and the previous version.

======================================

[How to set]

(First, install anyedit)

After installing this plug-in

Windows ---> preferences

General

---> Editors

---> Anyedit tools

 

In the displayed window

Make the first check box unselected

(□Remove trailing whitespace)

======================================

[How to install plug-ins]

Http://download.csdn.net/detail/icaoweiwei/4277453

Put the extracted content

% Eclipse_home % \ eclipse \ dropins. Restart eclipse ~

 

 

 

 

 

 

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.