Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse Java格式化程序-在';(';而不是';';_Java_Eclipse_Formatting_Code Formatting_Eclipse Formatter - Fatal编程技术网

Eclipse Java格式化程序-在';(';而不是';';

Eclipse Java格式化程序-在';(';而不是';';,java,eclipse,formatting,code-formatting,eclipse-formatter,Java,Eclipse,Formatting,Code Formatting,Eclipse Formatter,我有一个定制的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. prin

我有一个定制的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 +)");
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 +)");
System.out.println(
        "Here is a very long line containing very many characters, but it is only one String (so no +)");
“你不能”是一个很可能的答案。