Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Comment block not re-wrapped - 100 characters column limit violated

オープン
#949 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
tooling

調査の方向性

ソースファイルもテストも指定されていません。まず google-java-format、IntelliJ IDEA plugin v1.16.0.2、または fmt-maven-plugin v2.20 を使って Java のブロックコメントのケースを再現し、次にコメントの再折り返しとその 100 文字制限を追跡してください。/* ... */ ブロック内の長い段落が自動的に再折り返しされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Putting that:

/*
 * Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
 */

Doesn't lead to a re-wrap of the too long single line while it is mentioned on the Google Java Style Guide the following:

Tip: When writing multi-line comments, use the /* ... */ style if you want automatic code formatters to re-wrap the lines when necessary (paragraph-style). Most formatters don't re-wrap lines in // ... style comment blocks.

So I suppose this is a bug.

Reproducible with:

  • IntelliJ IDEA plugin v1.16.0.2 (latest version available today)
  • fmt-maven-plugin (Spotify) v2.20 (latest version available today)
主要言語
Java
スター
6.2k
フォーク
936
平均マージ
6分
マージ済み PR(30日)
3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/google-java-format のほかの issue

google/google-java-format の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。