google / google/google-java-format

google-java-format-eclipse-plugin-1.11.0.jar does not format the same as command line

Abierto
#642 3 comentarios 2 reacciones 0 asignados Ver en GitHub
Eclipse
Lenguaje dominante
Java
Estrellas
6.2k
Forks
937
Merge medio
6 min
PR fusionados (30 d)
3

Descripción

Here is a test:

```
package some.test;

public class Test {
String myLongString =
"The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.";
}

```
Eclipse formats it just as above. google-java-format-1.11.0-all-deps.jar on the comamnd line formats it as follows:

```
package some.test;

public class Test {
String myLongString =
"The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog."
+ " The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy"
+ " dog.";
}

```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.