Question : Eclipse - Java - code format

Some of the java code I am working with had previously used a maximum line width of 80.
This is annoying.
In Eclipse, in the code formatter, I can set the maximum line width, so I set it to 1000 (just to max it out). So now any new lines are not limited in length, but lines that were 80 are still 80. Is there a way to automatically "stretch" these out?

Answer : Eclipse - Java - code format

Go to the file that you want to format and press ctrl + shift + F.
Random Solutions  
 
programming4us programming4us