Set the line break length of code in MyEclipse

Source: Internet
Author: User

In the development of the myeclipse always encounter a problem, such as I write JS code, will often find code a long, using formatting tool format, the long code will be wrapped display, the results will be found, often will appear code line display, but also for the special nausea, This article is to provide a way to solve this problem, custom set code to change the number of degrees.

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430238161357120.png "title=" Enter preferences "alt=" into preferences "width=" 448 "height=" 341 "border=" 0 "vspace=" 0 "style=" border:0px;vertical-align: middle;height:341px;width:448px; "/>

Figure 1: Entering preferences

For example, 1, after entering the window's preferences setting, the following actions can be made to set the line length for different types of languages:

(1) Set the line wrap length for Java

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430238444111306.png "title=" Set the line break length for Java "alt=" to set the line break length for Java "width=" 580 "height=" 347 "border=" 0 "vspace=" 0 "style=" border:0px;vertical-align: middle;height:347px;width:580px; "/>

Figure 2: Set the line wrap length for Java

(2) Set the line wrap length of the XML

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430238617709206.png "title=" Set the wrapping length of the xml "alt=" to set the line wrap length of the xml "width=" 580 "height=" 549 "border=" 0 "vspace=" 0 "style=" border:0px;vertical-align:middle; height:549px;width:580px; "/>

Figure 3: Set the wrapping length of the XML

(3) Set the wrapping length of HTML

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430238745381691.png "title=" Set the wrapping length of HTML "alt=" to set the wrapping length of the HTML "width=" 499 "height=" 355 "border=" 0 "vspace=" 0 "style=" border:0px;vertical-align: middle;height:355px;width:499px; "/>

Figure 4: Set the wrapping length of HTML

(4) Set the line wrap length of the JSP

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430238850925957.png "title=" Set the line wrap length of the JSP "alt=" to set the line break length of the JSP "width=" 558 "height=" 307 "border=" 0 "vspace=" 0 "style=" border:0px;vertical-align:middle; height:307px;width:558px; "/>

Figure 5: Set the line wrap length of the JSP

Set the change of the JSP line, is to set the XML source and XML source, point link in the settings.

(5) Set the line wrap length for JavaScript

650) this.width=650; "src=" Http://yedward.net/zb_users/upload/2015/04/201504291430239080127718.png "title=" Set the line wrap length for JavaScript "alt=" to set the line-break length of the JavaScript "width=" 580 "height=" 403 "border=" 0 "vspace=" 0 "style=" border:0px; vertical-align:middle;height:403px;width:580px; "/>

Figure 6: Set the line wrap length for JavaScript

Generally do Java development, the commonly used settings are above, if you want to set up ASP, PHP, similar method, you can find in the configuration.


Set the line break length of code in MyEclipse

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.