Does anybody know how to turn line breaking in eclipse after you press CTRL + SHIFT + F
(code format), ex :
System.err
.println("Incorrect file name, make sure you include .extension with your file name");
eclipsejava
Does anybody know how to turn line breaking in eclipse after you press CTRL + SHIFT + F
(code format), ex :
System.err
.println("Incorrect file name, make sure you include .extension with your file name");
Best Answer
Go to Window->Preferences->Java->Code Style->Formatter. Create new formatter. Click on edit and then pick tab Line Wrapping and set Line Wrapping policy to Do not wrap.