google / google/google-java-format
A space is inserted after slash-star /* comments
- Linguagem predominante
- Java
- Estrelas
- 6.2k
- Forks
- 937
- Merge médio
- 6min
- PRs com merge (30d)
- 3
Descrição
GJF emits the following:
```
f(43
/*bla */ )
```
(when the max line width is short enough)
Note the space between the closing `*/` and the closing `)`.
This is coming from https://github.com/google/google-java-format/blob/506875dc3f0f1018676c764e5fe58c9a8c216900/core/src/main/java/com/google/googlejavaformat/OpsBuilder.java#L510
Is this intended?
Guia de contribuição
Direção de pesquisa
Reproduce the short-line formatting example, then inspect core/src/main/java/com/google/googlejavaformat/OpsBuilder.java around line 510. Determine whether the space after the /* comment is intended and, if not, identify the formatter behavior and regression coverage needed for the corrected output.
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
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100