When using eclipse for formatting, do you feel like you don't need to change the line when you do it? The following figure lets you customize the length of the change when formatting.
First step: Select the Preferences Property under window
650) this.width=650; "title=" 01.png "src=" http://s3.51cto.com/wyfs02/M02/6D/08/wKioL1Va3RWicaVHAAEXtxtM2gI951.jpg "alt=" Wkiol1va3rwicavhaaextxtm2gi951.jpg "/>
The second step: Select Java--code style--formatter, click New, name, click OK
650) this.width=650; "title=" 02.jpg "src=" http://s3.51cto.com/wyfs02/M01/6D/08/wKioL1Va3dWzoiXbAAJ3b5IOQnQ331.jpg "Width=" 640 "height=" 449 "alt=" wkiol1va3dwzoixbaaj3b5ioqnq331.jpg "/>650" this.width=650; "title=" 03.png "src=" Http://s3.51cto.com/wyfs02/M02/6D/08/wKioL1Va3xHAjUzeAADOhcVDGbA327.jpg "alt=" Wkiol1va3xhajuzeaadohcvdgba327.jpg "/>
Step three: Select Line rapping, set the length
650) this.width=650; "style=" width:707px;height:643px; "title=" 04.jpg "src=" http://s3.51cto.com/wyfs02/M02/6D/08/ Wkiol1va4e6bnpsyaaohxpfo2t8705.jpg "width=" 791 "height=" 678 "alt=" wkiol1va4e6bnpsyaaohxpfo2t8705.jpg "/>
This article is from "Forever Young" blog, please be sure to keep this source http://kingkongzhao.blog.51cto.com/6319491/1652799
The length of each line when Eclipse is custom formatted