1

我有一个自定义的 Eclipse Java 代码格式化程序,它应该在一行中的字符数量之后打破每一行。但是我没有找到在 Eclipse 应该打破什么字符之后可以设置的位置。如果我有以下代码:

System.out.println("Here is a very long line containing very many characters, but it is only one String (so no +)");

然后 Eclipse 像这样打破这条线:

System.out.
        println("Here is a very long line containing very many characters, but it is only one String (so no +)");

问题:如何让 Eclipse 在 '(' 而不是 '.' 之后破坏代码,如下所示:

System.out.println(
        "Here is a very long line containing very many characters, but it is only one String (so no +)");
4

0 回答 0