让我说我在Eclipse中打印一些代码。默认情况下,Eclipse在行的开头(第一个示例)打印包裹的行,这可能使代码难以阅读。有没有办法让Eclipse在打印时将包装线与正确的缩进对齐(第二个例子)?
默认Eclipse打印格式
for (List<String> text in data.rows()){
if (text =="this string" || text =="that string" || text =="some other
this string"{//do something }
}
我可以让Eclipse使用正确的缩进来对齐包裹线吗?
for (List<String> text in data.rows()){
if (text =="this string" || text =="that string" || text =="some other
this string"
{//do something }
}