Long lines in Markdown style are split in a mix of Markdown Javadoc comment and single line comment.
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 559
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 43
Beschreibung
If i write a very long Markdown Javadoc comment with Java 25, it splits the line, but the new line only has two slashes rather than three to continue the Javadoc comment.
Example:
```java
/// This is a very long comment that will very likely higher than eighty characters and that should definitely be wrapped at some point.
```
Applying spotless then results in the following:
```java
/// This is a very long comment that will very likely higher than eighty
// characters and that should definitely be wrapped at some point.
```
It should result in this (just add a third slash):
```java
/// This is a very long comment that will very likely higher than eighty
/// characters and that should definitely be wrapped at some point.
```
Beitragsleitfaden
Rechercherichtung
Beginnen Sie damit, das Problem mit Java 25 und dem langen Markdown-Javadoc-Kommentar aus dem Bericht zu reproduzieren. Verfolgen Sie den Einstiegspunkt des Formatierers, der Kommentare umbricht; abgeschlossen ist die Aufgabe, wenn umgebrochene Zeilen drei Schrägstriche beibehalten und weiterhin Teil des Javadoc-Kommentars sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100