Each time you format code with a myeclipse/eclipse shortcut key ctrl+shift+f, Eclipse automatically wraps to multiple lines if the original line of code is greater than 80 columns. If you want to format your code and don't want the code to wrap, you can modify it in the following ways:
1, modify the Java class file line length:
Open Eclipse's Window menu and Preferences->java->code style->formatter->edit/show (depending on the buttons available for different versions)->line Wrapping->maximum line width: Change 80 to 300 or greater.
2, modify the HTML, JSP, JS code line length
Window->preferences->myeclipse->files and editors->html->html source->line width-> add a 0 later to save.
3.mycelipse Modify Font:
Window->preferences-> General->appearance-> colors and fonts
The text font below the right basic:
4. Modify MyEclipse's Properties file encoding methodWindow->perferences->general->editors->context Types or: Window->perferences->general The context Types expands to the right text node and selects Java Properties File. Put the following default Character set value: Iso-8859-1 to UTF-8; diagram: