Eclipse lets code wrap (WORDWARP)

Source: Internet
Author: User
Tags word wrap

Eclipse lets code wrap (WORDWARP) Time: 2011-05-27 10:43:17 site Editor Source: People's soft web views:1938172 I want to comment (1) Summary:If you are looking for wordwarp this plugin, then add this Rul address in the MyEclipse Update Center to update the download. Http://ahtik ....

If you are looking for wordwarp this plugin, then add this Rul address in the MyEclipse Update Center to update the download. http://ahtik.com/eclipse-update/


When using the CTRL+SHIFT+F format code that comes with Eclipse, Eclipse automatically wraps to multiple lines if the original line of code is greater than 80 columns, and can be modified in the following ways


1, Preferences->java->code Style->code formatter->show ..., after opening, select the "Line wrapping" tab, in the "Maximun

Line width Specifies how many columns to wrap.

2, or in the "Line wrapping" tab, you can select "Lines wrapping Policy" can specify the constructor, method body, and so on. Recommended by Sun

The encoding style defaults to a 80 column line break.


1.Java Code

Open Eclipse's Window menu, then Preferences->java->code style->formatter->edit/show (different buttons available depending on the version)-

>line wrapping->maximum line width: Changed from 80 to 800.

2.Html Code

Window->preferences->myeclipse->files and editors->html->html source->line width-> plus a 0 save.


WordWrap Auto-Wrap Plugin

Eclipse uses the system's built-in "text editor" as a text editor, and this text editor has a long-standing problem that text cannot be wrapped. Although

This problem persists and is not difficult to solve, but it brings a lot of trouble to people.

Finally someone can not help to develop an extension wordwrap, this plug-in is very small, but the installation of this plugin will be able to easily implement the text editor line-wrapping function


Installation method: Use the automatic upgrade feature of Eclipse
("Help" → "sofeware updates" → "Find and install" → "Search for new features to Install", click "New

Remote Site button), fill in "WordWrap" in "Name", "http://ahtik.com/eclipse-update/" in "URL",

Then click "Finish" to install.

After installation, you can see "Virtual Word Wrap" In the right-click menu of the text editor.

Collect this article, I just want to find Wordwarp's web address: http://ahtik.com/eclipse-update/

Plus the update is successful!

Eclipse lets code wrap (WORDWARP)

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.