google / google/google-java-format

Comment line wrapping is not idempotent

未關閉
#211 22 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
6.2k
分支
937
平均合併
6 分鐘
30 天內合併 PR
3

描述

Here's a test case
[non-idempotent.zip](https://github.com/google/google-java-format/files/1380355/non-idempotent.zip)

Bisecting seems to implicate 79a39179f8c "Wrap line comments that exceed the column limit" by @cushon, which makes sense to me as a culprit.

貢獻指南

開啟貢獻指南

研究方向

首先重現附帶的 non-idempotent.zip 測試案例,並檢查引入長行註解換行功能的提交 79a39179f8c。追蹤格式化器在第二次執行時變更輸出的行為;完成標準是重複格式化該案例會產生完全相同的輸出。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。