google / google/google-java-format
A space is inserted after slash-star /* comments
未關閉
- 主要語言
- Java
- 星號
- 6.2k
- 分支
- 937
- 平均合併
- 6 分鐘
- 30 天內合併 PR
- 3
描述
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?
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100