Wrap long javadoc lines where possible
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Prettier-Java 2.6.0 と --print-width 120 で例を再現し、その後、コメントフォーマットのエントリーポイントと既存のテストを調べます。設定された幅で対象となる Javadoc テキストが単語を分割せずに折り返され、GitRatchetGradle.java のコメントで参照されているもののような長い URL がそのまま維持されれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Prettier-Java 2.6.0
# Options (if any):
--print-width 120
Input:
/**
* Build Service for Git. Primary goal is to allow for lazy initialization of the Git object and keeping it open for later usage.
* This Service should not be considered a published API, and may change or be removed in future versions.
*/
Output:
/**
* Build Service for Git. Primary goal is to allow for lazy initialization of the Git object and keeping it open for later usage.
* This Service should not be considered a published API, and may change or be removed in future versions.
*/
Expected behavior:
/**
* Build Service for Git. Primary goal is to allow for lazy initialization of the Git object and keeping it open for
* later usage. This Service should not be considered a published API, and may change or be removed in future versions.
*/
beware of word breaking though, this for example shouldn't try to wrap even though it's too long. Note: I'm not certain if this would try to reformat now, and it isn't javadoc, but maybe this issue applies to all comments and I just haven't noticed.
// https://github.com/diffplug/spotless/blob/224f8f96df3ad42cac81064a0461e6d4ee91dcaf/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/GitRatchetGradle.java#L35
- 主要言語
- Java
- スター
- 1.2k
- フォーク
- 123
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jhipster/prettier-java のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jhipster/prettier-java#1113 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
jhipster/prettier-java#1114 ·
メンテナーはふだん 2 日以内に返信
-
Text block containing a comment-like line with " or \ fails with "Comment was not printed"対応中かも @sean0407 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
jhipster/prettier-java#1112 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
jhipster/prettier-java#1031 ·
メンテナーはふだん 2 日以内に返信
-
Adds needlessly parentheses対応中かも @braxtonzhangio が 74 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
jhipster/prettier-java#1001 ·
メンテナーはふだん 2 日以内に返信
jhipster/prettier-java の issue をすべて見る
似ている issue
-
ChaosEngine: backup-remote doctor row passes while consumer mode hides bot memory from git対応中かも @MohabMohie が今日担当しました。 オープンagentic
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ShaftHQ/SHAFT_ENGINE#7263 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug/错误
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
FCL-Team/FoldCraftLauncher#1951 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
quarkusio/quarkus-agent-mcp#296 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
commons-app/apps-android-commons#7072 ·
メンテナーはふだん 1 日以内に返信