google / google/google-java-format
Link lines longer than 100 chars are malformed in ///
- 主要語言
- Java
- 星號
- 6.2k
- 分支
- 937
- 平均合併
- 6 分鐘
- 30 天內合併 PR
- 3
描述
The first line illustrates a 100 character long line
The following are a markdown link line of 100 characters, and the next the same of 101 characters.
```
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
/// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)
```
The first is maintained through the formatter
The second is malformed by moving the link to a new line prefixed by `//`
```
/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
///
// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)
```
It'll do this regaurdless of `///` comments before or after, so it can result in a `//` line in the middle of `///` ones
貢獻指南
研究方向
先使用 issue 中所示的 `///` 註解中的 100 字元和 101 字元 Markdown 連結,重現 formatter 的輸出。追蹤 formatter 的註解行換行路徑;如果找到相關的測試位置,就為這個邊界案例新增覆蓋。完成的標準是 101 字元的連結保持完整,且所有周圍的行都保留 `///` 前綴。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100