google / google/google-java-format

does not reformat (too long) block comments

Open
#127 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.2k
Forks
937
Avg merge
6m
Merged PRs (30d)
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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.