如何在日食中关闭断线 [英] how to turn off break line in eclipse
本文介绍了如何在日食中关闭断线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道如何在你按下 CTRL + SHIFT + F
(代码格式)之后,在eclipse中切断线条,例如:
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");
推荐答案
转到窗口 - >首选项 - > Java->代码样式 - >格式化器。创建新的格式化程序。单击编辑,然后选择选项卡换行,并将线条包装策略设置为不换行。
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.
这篇关于如何在日食中关闭断线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文