google / google/google-java-format

Link lines longer than 100 chars are malformed in ///

Aperta
#1,369 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.