google / google/google-java-format

does not reformat (too long) block comments

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

Descripción

A

```java
/*
regular block comment
*/
```
and a
```java
// regular comment
```
are not reformatted by the plugin if they are too long to fit on one line. Unlike Javadoc comments, regular (block) comments are not wrapped to the next line by google-java-format. Is this is a bug or a feature?

This was tested on IntelliJ IDEA 2016.3.4, Build #IC-163.12024.16, built on January 31, 2017 and google-java-format 1.0, which is the latest available version from the Jetbrains repos for this and the previous (2016.3.3) IDEA version (although a newer GJF version should be available, see #115).

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.