I make all according this question: Eclipse: Set maximum line length for auto formatting?.
my result: 
I tryed to make own profile. profile was created:

before ctrl+shift+f : 
after:

How to fix it?
I make all according this question: Eclipse: Set maximum line length for auto formatting?.
my result: 
I tryed to make own profile. profile was created:

before ctrl+shift+f : 
after:

How to fix it?
Goto How to Change the Default Format Settings in Eclipse
Follow the steps to create a new profile. Step 11 [Line Wrapping] shows a 'Maximum line width' field, changing that would fix your issue.
Also, make sure your newly created profile is selected in the Active Profile drop-down inside Window -> Preferences -> Java -> Code Style -> Formatter.
If you are trying to format XML: Goto Window -> Preferences -> XML -> XML Files -> Editor and change Line width field.