I am working with Java. If I hit Ctrl+Shift+F in Eclipse Helios, it will auto format my code. At a certain point, it wraps lines. I would li
Line length formatter setup is blocked for annotations (Eclipse Photon checked). Therefore it is needed in Line Wrapping -> Wrapping settings -> Annotations. Setup line wrapping as appropriate for you. There is couple of possibilities, e.q. Enable wrap when necessary to use first icon list.
Take a look of following image:
Java->Code style->Formatter-> Edit
for XML line width, update preferences > XML > XML Files > Editor > Line width
Preferences -> Java -> Code Style -> Formatter / "Edit..."
Tabs: "Line wrapping" , "Comments"
Field: "Maximum line width"
Set both to make comments have the same length too. You might need to create a new profile if you don't have one already.