【发布时间】:2012-03-27 13:39:10
【问题描述】:
我喜欢 eclipse 自动格式化,但有一个功能让我发狂:
由于我在自动格式中使用了换行,因此代码如下:
private static Location _location = null; // this is a comment
变成了像这样可怕、可怕的代码:
private static Location _location = null; // this
// is
// a
// comment
这不仅看的痛,而且换回来一点也不方便……
有没有什么办法可以去除 cmets 的换行,或者至少修复一下,让它看起来不会一团糟?
谢谢
【问题讨论】: