google / google/google-java-format
The hard wrap width is too small
未關閉
- 主要語言
- Java
- 星號
- 6.2k
- 分支
- 937
- 平均合併
- 6 分鐘
- 30 天內合併 PR
- 3
描述
- AOSP style, basic indent is 4.
- class -> method -> main body,
- java.util.stream.Stream
- val name clarity often means long names
Because of the above reasons, the left margin can easily become large, and the right space is not enough to wrap the line.
May 120 be better?
貢獻指南
研究方向
先找出 formatter 的硬換行寬度實作及其相關測試;該 issue 沒有指定檔案或進入點。重現一個縮排和較長名稱導致右側空間不足的案例,接著評估寬度 120 是否合適。定義預期的寬度行為並由測試涵蓋後,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100