diffplug / diffplug/spotless

Long lines in Markdown style are split in a mix of Markdown Javadoc comment and single line comment.

Open
#2,799 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

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.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.