jhipster / jhipster/prettier-java
Comment Formatting
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 120
- Merge medio
- 1g 14h
- PR unite (30g)
- 27
Descrizione
**prettier-plugin-java**
_version: 2.6.4_
```sh
# Options (if any):
--print-width 120
```
**Input:**
```java
// some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment
public SomeClass() {}
```
**Output:**
```java
// some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment
public SomeClass() {}
```
**Expected behavior:**
Does Prettier not format comment sections? As I see, it has even issues with formatting the code which is in one line with a comment. Is it right? Or there is some new version with fixed comment formatting?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.