google / google/google-java-format
Comment block not re-wrapped - 100 characters column limit violated
- Linguagem predominante
- Java
- Estrelas
- 6.2k
- Forks
- 937
- Merge médio
- 6min
- PRs com merge (30d)
- 3
Descrição
Putting that:
```java
/*
* Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
*/
```
Doesn't lead to a re-wrap of the too long single line while it is mentioned on the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html) the following:
> Tip: When writing multi-line comments, use the /* ... */ style **if you want automatic code formatters to re-wrap the lines** when necessary (paragraph-style). Most formatters don't re-wrap lines in // ... style comment blocks.
So I suppose this is a bug.
Reproducible with:
* IntelliJ IDEA plugin v1.16.0.2 (latest version available today)
* [fmt-maven-plugin](https://github.com/spotify/fmt-maven-plugin) (Spotify) v2.20 (latest version available today)
Guia de contribuição
Direção de pesquisa
Nenhum arquivo-fonte ou teste foi indicado. Comece reproduzindo o caso de comentário de bloco Java com google-java-format, o plugin do IntelliJ IDEA v1.16.0.2 ou fmt-maven-plugin v2.20; depois, rastreie a reformatação dos comentários e seu limite de 100 caracteres. Está concluído quando o parágrafo longo em um bloco /* ... */ for reformatado automaticamente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100