Eclipse does not have its own function of text wrapping, you need to install the Word Warp plug-in.
installation method:
Menu bar"Help"Install New Software"Add
Name:Word Warp
Location:http://ahtik.com/eclipse-update
After OK, check the loaded Word Warp plug-in
The next step is to confirm all the way. After eclipse restarts automatically, right-click the mouse in the text, and there will be more Word Warp properties. Check it to automatically wrap the line, and uncheck it is the same as the default.