how to turn off break line in eclipse

后端 未结 4 966
深忆病人
深忆病人 2021-02-01 16:31

Does anybody know how to turn line breaking in eclipse after you press CTRL + SHIFT + F (code format), ex :

System.err
                    .println         


        
4条回答
  •  忘了有多久
    2021-02-01 17:16

    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.

提交回复
热议问题