google / google/google-java-format

does not reformat (too long) block comments

Ouverte
#127 4 commentaires 5 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
6.2k
Forks
937
Merge moyen
6 min
PR mergées (30 j)
3

Description

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).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.