Background: At the beginning of the project we found that after the format of the comments automatically wrapped, looking very awkward, only dare to select the format.
in order to meet the needs of everyone, and then carefully observed the format of this piece, found that this piece is configurable.
Eclipse Comment Code does not break line
formatting effects that were not set before are as follows:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" width= "340" height= "alt=
Formatting code does not break line
Step 1:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" width= "227" height= "alt=
Step 2:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" Width= "566" height= "157" alt= "Spacer.gif"/>
Step 3:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" width= "749" height= "Wuyi" alt= "Spacer.gif"/>
Step 4: Open the new line after unchecking the parameter, then set the width of * * * Shing
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" width= "455" height= "255" alt= "Spacer.gif"/>
After formatting again:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" width= "383" height= "alt=
Eclipse Comment Code does not break line